Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best approach to use jira programmatically

Tags:

python

c#

jira

I would like to be able to create/assign/and close jira tickets or entries programmatically.. I was able to google and found that jira has command line tools available as well as a soap API. Suggestions on what approach would be the best?

like image 847
Pradyot Avatar asked Feb 22 '11 14:02

Pradyot


People also ask

Is there an API for Jira?

The Jira Software and Jira Service Management applications have REST APIs for their application-specific features, like sprints (Jira Software) or customer requests (Jira Service Management). If you haven't used the Jira REST APIs before, make sure you read the Atlassian REST API policy.


2 Answers

In c# I have been using the following dot net lib: https://bitbucket.org/farmas/atlassian.net-sdk

like image 52
John Babb Avatar answered Oct 02 '22 15:10

John Babb


Using their API from your language of choice would seem to be the logical solution. You haven't provided any details on what language you'd prefer to code in, though, so it's hard to provide any useful references.

If you can use Perl, JIRA::Client looks useful and could save you a lot of time.

EDIT: Since you've clarified that you'll use Python or C#, the following question provides some information on using JIRA's API from Python which I think will be helpful to you: jira SOAP and XMLRPC

This JIRA CLI in Python might also be of use: https://plugins.atlassian.com/plugin/details/10751

like image 26
David Precious Avatar answered Oct 02 '22 14:10

David Precious