Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Brent Morley
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 1, 2015

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

0 votes
Robert Massaioli (Atlassian)
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 1, 2015

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.

Brent Morley
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 2, 2015

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

Robert Massaioli (Atlassian)
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 2, 2015

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

0 votes
Deleted user December 1, 2015

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

Suggest an answer

Log in or Sign up to answer