Forums

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

How can we create JIRA project shortcuts via API?

David Waelder
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!
October 14, 2018

Hi!

We are working into automating JIRA project creation. One of the steps is adding shortcuts to the JIRA project (such as the Confluence page, the Bitbucket project, relevant other resources, etc.)

We have not found how to do it.

Is there any API call or indirect method to do so?

Thanks!

1 answer

4 votes
Olexandr Polinkevych
Contributor
July 22, 2019

There is no public api for now but i've found private one and it works just fine. Here is an example of ajax call:

 

AJS.$.ajax({url: 'http://jiraexample.com/rest/projects/1.0/project/TEST/shortcut',
type: 'POST',
contentType: "application/json",
data: JSON.stringify({
icon: "",
name: "confluenceURL",
url: "http://confluenceexample.com"
})
})
jensen jen August 26, 2019

We are doing into automating JIRA project creation too, and this is very useful for us.By the way,how to find out the private API usage instructions?

Olexandr Polinkevych
Contributor
October 9, 2019

Honestly speaking i don't know clear way to do it, but personally i just explore ajax calls using web tools provided by google chrome

Suggest an answer

Log in or Sign up to answer