Hello All ,
I am a JIRA administrator . I want to to write a JAVA code using REST API in JIRA. Using JAVA code i have to develop / change some thing in my JIRA administration part.
i didnt get any option to write a code in JIRA Software . where i can write JAVA code and how it is connected to my JIRA ?
Thank you.
Hi Vidhya,
you should read the tutorials and examples on calling Jira with the REST API here:
https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials
There is also a Jira Java REST Client you can look at:
Hello Thomas ,
Thank you so much . Now am trying to Create JIRA Sub-Tasks automatically when issue created .
For this i am planning to write a code in JAVA . Here I ididnt understood where to write JAVA program during the transition state . I used Scripting Suite for JIRA add-on , i think in this add-on Jython scripts only allowed ,it is not possible to write JAVA (am not sure ). So give me some suggations to me.
Is it possible to write a code in Eclipse for this task.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vidhya,
I didn't write code for that yet. For creating subtask with a Jira workflow, we are using the "Workflow Tool Box Plugin". It has a function for creating subtasks on a workflow transition.
This works well, but it is not for free.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There's two things you might mean here
1. You literally mean you want to write "code in JIRA". This is possible for Server versions of JIRA, and is a good idea to do it in Java, because that's what JIRA is written in. You write and deploy an add-on containing your code, and JIRA runs it internally. (There's also the option of writing directly in the core of JIRA and recompiling it, but I never recommend doing that. Add-ons are the way to go)
2. You mean you want to write code that talks to JIRA. For that, you can write in any languate you want as long as it can talk to JIRA over its REST interface. Start at https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials
Edit - sorry, Thomas beat me to it! I need to click refresh before posting!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.