Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Accessing the Applinks REST API from an Atlassian Connect Express

AL November 9, 2016

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

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
boydo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 14, 2016

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. 

TAGS
AUG Leaders

Atlassian Community Events