Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Options for fetching JIRA data from Bitbucket plugin

nelswadycki
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 10, 2019

I've been using the Jira REST Java Client for fetching data from Jira Server using the REST API from code within a custom Bitbucket plugin (for a merge check hook).

Using the Java Client brings in a lot of dependencies, though, and I've spent a lot of time trying to satisfy all of the OSGi wiring constraints without success.

I am starting to think it might be faster to just write my own "thin client" without any dependencies other than what comes with Bitbucket already so that I don't have to bring in anything extra. We do this in another plugin so I have an example to work from, but I need a lot more data from Jira than the other plugin, so I thought it might make things faster to use the Java client.

Besides a) the Java client and all the dependencies or b) hand-rolled implementation, are there any other options for fetching data from a Jira Server instance using the REST API from within a Bitbucket plugin? Perhaps a version of the library with the dependencies included so OSGi won't complain about all the missing requirements?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events