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

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

0 votes

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 57m ago in Statuspage

How do your teams prepare for really high (planned) traffic days like Cyber Monday?

Hi there! Shannon from Statuspage here.  👋  With Cyber Monday quickly approaching, we're looking to hear from Atlassian customers – specifically from teams who touch incident response li...

7 views 0 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