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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 2 hours ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

53 views 3 4
Read article

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