Is it possible to create issues via the REST API JS from a custom application

I am trying to create an issue via the REST API in Javascript from a custom application. Is this possible?

 

Where can I find an example of "all the correct params". I am currently getting a failure on the preflight and from my understanding I am constructing the AJAX call correctly

2 answers

This widget could not be displayed.

Yes it is possible. A simple AJAX call with all the correct params is enough (with all the other basic requirements of course).

This widget could not be displayed.

To test out Atlassian Rest API's I would highly recommend using the Rest Api Browser: https://developer.atlassian.com/docs/developer-tools/using-the-rest-api-browser

It lets you understand how to send rest calls to the Atlassian API's before attempting to write them into your own app.

I'm using JIRA cloud so the Rest API browser is not available

Then run Atlassian Cloud locally using AMPS. There are instructions in the Atlassian Connect getting started guide: https://developer.atlassian.com/static/connect/docs/guides/getting-started.html

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

96 views 1 2
Join discussion

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