Hello!
I am sorry to bother. I have been performing calls from my Connect App to the Service Desk API without issues, but this morning I realized one call is failing in one of my environments.
I am using this endpoint: https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-requesttype/#api-rest-servicedeskapi-requesttype-get
The connect application has READ scope, and I am performing the call from my back end, like this:
addon.httpClient(req).get({
url: `/rest/servicedeskapi/requesttype?searchQuery=`,
helpers: {
'X-ExperimentalApi': 'opt-in'
}
}, function (err, res, body) {
console.log(res.statusCode)
console.log(res.statusMessage)
});
The call is failing with Forbidden (403) status.
Any idea what could be possibly failing?
Thank you!