How to create an issue programatically using java?

Hi

i am new to jira.. can you please help me to create an issue programatically

Thanks in advance

4 answers

1 accepted

0 votes

It is recommended to use IssueService. See a sample tutorial at https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+JIRA+Issue+CRUD+and+Search

Perhaps you should start at - https://developer.atlassian.com/display/JIRADEV/JIRA+Developer+Documentation

Then you can refer this below link to create the JIRA issue programtically-

http://wiki.customware.net/repository/pages/viewpage.action?pageId=35389452

0 votes
Mizan Community Champion Nov 18, 2012

You can refer this tutorial . you will need to modify it to make it compatible with Jira 5

If you mean as part of a plugin, then the other answers apply. However, if you are asking how to automate various JIRA activities for intergration with other products, the JIRA Command Line Interface is a simple option. Specifically, createIssue action. Easy to program in Java or scripting languages like groovy :).

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,772 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot