My company has a third party app that we want to automatically create JIRA issues based on the data that is contained within the app. How would I go about implementing this? Is there some API that could help with this? Thanks!
Absolutely - use JIRA's REST API to poke the data in - see https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-create-issue
You can do it any language that can produce REST calls, so the next question is "is there a way your 3rd party app can be made to make such a call when it's needed?"
Yes, JIRA has a REST API for integrating with other applications. Documentation can be found here:
For creating a new issue in JIRA, you'll want to look at the "issue" endpoint in the documentation.
All later versions of JIRA have a REST API that will allow you to create issues, you can even set it up to create issues from email (but I haven't tried that and am not sure I would recommend it).
Are you running on your own server or in the Cloud?
We're using JIRA 6.4.11 on our own server and here's the documentation for the REST API to create an issue in 6.4.11. You can look around for other versions.
I don't know if this is allowed in the Cloud solution, but don't see why it wouldn't be.
Atlassian use curl as an example because it's quite simple to use and installed on a lot of machines automatically (and even when it's not, it's usually very easy to add). It's good for examples because you can concentrate on the content, and not how a program is working.
> i need to change the default js files for my application to make http requests to our JIRA environment and create the issue?
That sounds right to me. I don't know that you'll need to use curl, anything that can poke another site with the commands can do it.
I like to use Postman, a Chrome plugin, for doing and testing Rest services. It is much easier than cURL for doing simple and complex requests with minimal effort.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG