How to create an issue programatically using java?

Nageswarara Rao November 18, 2012

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
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 18, 2012

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

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 18, 2012

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 :).

0 votes
Mizan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 18, 2012

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

0 votes
Naren
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 18, 2012

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

Suggest an answer

Log in or Sign up to answer