Hi,
We're currently getting a 403 Forbidden error when calling the the JIRA Cloud Rest API for projectCategory from an Atlassian Connect Express app. In our development instance the app is provided all scopes in the atlassian-connect.json, as follows:
"scopes": [
"READ",
"WRITE",
"DELETE",
"PROJECT_ADMIN",
"ADMIN",
"ACT_AS_USER"
]
Interestingly as an authenticated user in the browser we can hit "https://ourinstance.atlassian.net/rest/api/2/projectCategory" and the anticipated JSON object is returned containing a test project category which was created manually through the JIRA instance administration.
The simplified request code within our application is as follows:
AP.request({
url: '/rest/api/2/projectCategory',
type: 'GET',
contentType: 'application/json',
success: function(response) {
console.log(response);
},
error: function(response){
console.log(response);
}
});
Other REST API calls (e.g. issueTypes) are working as anticipated from the Connect Express app. Is there something we're doing incorrectly with authentication? We have "JWT" listed a the authentication type in the atlassian-connect.json.
Any input, suggestions or help would be much appreciated.
Thanks.
I am having the same issue. Did you find any solution to this ?
No not yet. I've also posted over on the developer forums, but haven't had any responses.
Interestingly, the API request works using Postman with an API Key. So I'm thinking it has to be related to permissions with how we're executing the request within the app.
Have you had any luck finding an answer?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.