It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to programatically create Application link and configure it programatically using APIs

I am using the below json to create an application link,

{
"applicationLink": {
"typeId": "generic",
"name": "myapp",
"displayUrl": "https://jira-server.msteams-atlassian.com",
"rpcUrl": "https://jira-server.msteams-atlassian.com",
"isPrimary": false,
"isSystem": true
},
"username": "admin",
"password": "admin",
"customRpcURL": false,
"rpcUrl": "",
"createTwoWayLink": false,
"configFormValues": {
"trustEachOther": false,
"shareUserbase": false
}
}

Application link is created- OK

But, when I try to add the further configuration of oauth authentication using json, it is not working. Error 404/500/consumer key not found, kindly suggest

{
"applicationLink": {
"typeId": "generic",
"name": "Microsoft Teams",
"displayUrl": "https://jira-server.msteams-atlassian.com",
"rpcUrl": "https://jira-server.msteams-atlassian.com",
"isPrimary": false,
"isSystem": true
},
"consumerKey": "OauthKey",
"consumerName": "MicrosoftTeamsIntegration",
"publicKey": "xyz"
"customRpcURL": false,
"rpcUrl": "",
"createTwoWayLink": false,
"configFormValues": {
"trustEachOther": false,
"shareUserbase": false
}
}

Kindly let me know the json format for complete configuration? Also how to programmatically configure application link using correct json

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you