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,

https://community.atlassian.com/t5/Answers-Developer-Questions/Can-I-create-update-an-Application-Link-using-an-REST-java-API/qaq-p/566366#U700544

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.

 

Regards

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,870 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot