Giter Site home page Giter Site logo

ericsson / jira-oslc-plugin Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 16.0 306 KB

JIRA OSLC plugin is a JIRA add-on. Main role of this plugin is extend JIRA functionalities to provide establishing and removing OSLC links between JIRA issue and external OSLC object. Plugin enables handling OSLC links in N to M mode. The plugin supporting JIRA7 is stored in 'jira7' branch.

Java 100.00%

jira-oslc-plugin's People

Contributors

dlpartain avatar xpromar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jira-oslc-plugin's Issues

Example of usage please!

I can't get my head around of how to update a CR in Jira. Is it possible to provide me with an usage example file of leansync and a formatted PUT request?

Cannot accces text/html resources with Oauth authorized request

Authorized with OAuth 1.0a.
Not would like to access "http://10.2.2.63:8080/rest/jirarestresource/1.0/10000/changeRequests/TWC-7/smallPreview"
using oAuth access token. So I build and pass GET request with header:
"Authorization: OAuth oauth_nonce="-241410447", oauth_signature="vsU%2BD2IXUfjS2bHF%2FYlI3z7EcI4%3D", oauth_token="9744af7c-8af3-4753-9bf5-ac659bb7f584", oauth_consumer_key="gm_team", oauth_timestamp="1497016493", oauth_signature_method="HMAC-SHA1", oauth_version="1.0""

But always get response status 401, token_rejected

while if I in same way try to access "http://10.2.2.63:8080/rest/jirarestresource/1.0/10000/changeRequests/TWC-7"
and additionally provide "Accept: application/rdf+xml" header to request I get a right response with 200 status.

What can be the problem with first request?

CREATE ISSUE USING REST CLIENT

Hi, I'm using this plugin to integrate Jira software with MS Excel. Before doing it, I'm testing its functionality with a RESTful Google Chrome client called ARC. How do I have to set the request body to do a successful ChangeRequest with POST method?

Need help on the error

I am trying to deploy the plugin for JIRA 7.3.0. I was able to do a build with JDK 1.8.0.71 and was able to deploy the plugin successfully with i am seeing all the modules are installed successfully. However when I try to define project relationship, I am getting runtime error
java.lang.IncompatibleClassChangeError: Class com.hp.hpl.jena.rdf.arp.impl.RDFXMLParser$SAXParserWit
at com.hp.hpl.jena.rdf.arp.SAX2RDF.installHandlers(SAX2RDF.java:173)
at com.hp.hpl.jena.rdf.arp.impl.RDFXMLParser.(RDFXMLParser.java:67)
at com.hp.hpl.jena.rdf.arp.impl.RDFXMLParser.create(RDFXMLParser.java:132)
at com.hp.hpl.jena.rdf.arp.JenaReader.(JenaReader.java:76)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
... 2 filtered
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at com.hp.hpl.jena.rdf.model.impl.RDFReaderFImpl.getReader(RDFReaderFImpl.java:104)
at com.hp.hpl.jena.rdf.model.impl.RDFReaderFImpl.getReader(RDFReaderFImpl.java:88)
at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:235)
at com.ericsson.jira.oslc.oslcclient.Client.getServicesProviderCatalogURI(Client.java:268)
at com.ericsson.jira.oslc.servlet.ProjectRelationshipsServlet.reloadPage(ProjectRelationship
at com.ericsson.jira.oslc.servlet.ProjectRelationshipsServlet.doGet(ProjectRelationshipsServ
at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainer
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
... 52 filtered
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInte
... 47 filtered
at com.ericsson.jira.oslc.servlet.JiraUserFilter.doFilter(JiraUserFilter.java:138)
... 14 filtered
at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:
... 1 filtered
at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:74)
... 37 filtered
at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopul
... 10 filtered
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInte
... 4 filtered
at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.jav
... 29 filtered
at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.j
... 28 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

I am not sure how i can resolve this. Any pointer to the resolution will be helpful

Documentation

Great plugin, well very useful potentially,
however, I could really do with a little documentation on how to use and configure it!

thanks

Update scheduled for Jira 8.x?

I am currently working on adapting this project to Jira 8.x. There is an important overhaul due to the evolution of dependencies. I'm trying to update Amps from 5.0.4 to 8.0.2 and therefore use jira-maven-plugin instead of maven-jira-plugin. The eclipse.lyo project (core and server) offers a version "4.0.0.0.M1" compatible with the appropriate dependencies (apache jena 3.12...). But I still have a lot of problems.

Has anyone else worked on this subject?

IssuePriorityService wrong about url

copy/paste error when building the ns1:about url,
was
builder.append("ns1:about="" + jiraServiceBase + "/issueTypes">\n");
should be
builder.append("ns1:about="" + jiraServiceBase + "/issuePriorities">\n");

External Link dialog Issue

Team,
Can someone help on this?

External link page always in top of the page. Delegated UI showing behind the external link dialog.

Documentation

We are also highly interested in using this powerful plugin, but miss documentation, especially on configuration and on the RESTful interface of the partner application(s) notified by JIRA changes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.