It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Where i can write a JAVA program in JIRA Edited

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.



2 answers

2 accepted

0 votes
Answer accepted
Thomas Schlegel Community Leader Jun 12, 2017

Hi Vidhya,

you should read the tutorials and examples on calling Jira with the REST API here:

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.

Thomas Schlegel Community Leader Jun 16, 2017

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.

0 votes
Answer accepted

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

Edit - sorry, Thomas beat me to it!  I need to click refresh before posting!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Apr 09, 2019 in Portfolio for Jira

Portfolio for Jira 3.0 is here!

The wait is over... Portfolio for Jira Server and Data Center 3.0 is now officially here! Platform releases offer Atlassian an opportunity to shift our strategy, make bold predictions about t...

1,288 views 12 24
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you