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?
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.
In c# I have been using the following dot net lib: https://bitbucket.org/farmas/atlassian.net-sdk
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With