How to create a new applicationlink using the createAppLink restAPI?

I am currently developing a plugin for jira. I need to automate the process of creating an application link in jira. I referred the below link for the creating the applink using restAPI,

But I got the 401 unauthorized error as response. How to proceed with it ? How to define the payload json that has to be sent along with request? Is there any document for creating the applink using restAPI? Please help.

1 answer

I cannot find any documented endpoint to do that but I'm pretty sure it is possible.

Have you tried to use the Atlassian REST API Browser ?? Maybe a better approach is to find the correct endpoint using this tool and launch the REST call manually until you discover the right payload.



Thanks for your response. I coundn't find useful restapi from the plugin that you have mentioned. Is there any other way to find it out ?

I'm not sure about.
Anyway, Do you use basic autentication to launch this REST Call? Because you must and the choosen user should have administratives privileges.

And is the username and password correctly set in the payload as well?

Yes I have. But I coundn't create the application link using the restAPI. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 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...

24,207 views 2 7
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