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

Brent Morley 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 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
GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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
TAGS
AUG Leaders

Atlassian Community Events