Community moderators have prevented the ability to post new answers.
Hi guys, to create a new AppLink from the REST API, this is the URL and the payload.
http://localhost:2990/jira/rest/applinks/1.0/applicationlinkForm/createAppLink
{
"applicationLink": {
"typeId": "generic",
"name": "myapp",
"displayUrl": "http://localhost",
"rpcUrl": "http://localhost",
"isPrimary": false,
"isSystem": true
},
"username": "admin",
"password": "admin",
"customRpcURL": false,
"rpcUrl": "",
"createTwoWayLink": false,
"configFormValues": {
"trustEachOther": false,
"shareUserbase": false
},
"orphanedTrust": null
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I got 401 unauthorized error response while sending this request using postman. Can you explain how to give the payload details as json? Is there any document for it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Karthik dharmalingam 401 unauthorized means that you didn't authenticate the REST API call correctly. Can you provide more details on what you have done?
Also, for further details on this you might want to see the following thread: https://community.atlassian.com/t5/Jira-Software-questions/Jira-cloud-addon-use-API-to-create-oauth1-application-link/qaq-p/1134043
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I know this is an old thread, and I know that @Cesar Cruz Alvarez already showed the way to create applinks via REST API, however you can look at the below thread for more details and examples on this topic:
Have a nice weekend!
Dario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, but I wanted a REST api (I needed it in a shell script to link a fisheye repository to a jira project)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, did you figure out the REST API for this? I am also looking for a REST API to configure Fisheye application links to JIRA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The applinks plugin (that provides the Application link functionality in all Atlassian applications) does have a rest interface. Unfortunately I did not find any doc about it.
However, you can view the wadl (Web application Description language), describing the API, at http://<atlassianapplication url>/rest/applinks/latest/application.wadl and start from there.
What certainly helps in figuring out how it works is doing what you want to do using the UI and trace the http traffic using wireshark (at least that helped me a lot)
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.