i have a question please how can i use JIRA Rest api to present some data like jira issues, all what i find is an exemple of a small python script that use our REST interface, but me i have a java application, i don't have an idea how can i integrate this interface in my application code
To be able to use JIRA's REST API, you need a REST client in your Java application. You can find a list of some popular java rest client implementations and use one of them to access JIRA REST services.
If you want to quickly test some REST services in JIRA, you can log in as an administrator in your JIRA instance and go to http://localhost:2990/jira/plugins/servlet/restbrowser (or go to Administration area - System - REST API Browser).
You can also try using JIRA REST Java Client library (JRJC) but I'm not sure if it will hurt you a lot or not :)
You'll need to write a JAVA code able to trigger HTTP methods against specific JIRA URLs. For retrieving data, you'll need to use the GET method; For inserting data, you'll need to use the POST/PUT methods, and for deleting data, the DELETE method.
As defined by REST API, all the JIRA's response will have a JSON format, so it's easily for parsing it and displaying on your application. I don't have any snipet in JAVA (I'm only fluent in Python, Perl and Bash), but you can search here on the forum (in threads like this) how to proceed.
As Atlassian, we do have some examples using Python, as well some examples using cURL. There's also lots of good browser extensions (I recommend Postman, for Google Chrome) for testing the methods/URLs before implementing the code in JAVA.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs