I'm trying to write a plugin that automatically registers a linked application in the "Application Links" section within JIRA cloud, however I'm encountering some kind of permission based problem that appears to be exclusive to the applinks functionality.
By directly invoking the endpoint : https://<base>rest/applinks/1.0/applicationlink/47860705-52eb-339b-a0a6-88888d313859 (for some UUID) directly via curl (using the logged in user's credentials) I'm able to successfully modify the metadata correctly, however when invoking the same call from a ACE plugin I get a permission error.
I have marked my plugin as requiring admin scope, and all other admin operations are working correctly from my plugin so it does not appear to be an authentication problem but rather potentially some kind of restriction. Every call (even GETs to retrieve the existing metadata) result in a 403.
Are my assumptions correct? Is there any way at all to access this API at all from the cloud environment?
Cheers
Community moderators have prevented the ability to post new answers.
Hi Andrew,
Unfortunately, it looks like that endpoint is not available for a connect add-on:
https://developer.atlassian.com/static/connect/docs/latest/scopes/jira-rest-scopes.html
I suggest you raise a feature request in https://ecosystem.atlassian.net/browse/AC/ describing your use case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.