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
Accepted answer

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

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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,729 views 17 21
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