How can I add a dedicated Slack channel to a Jira Issue using the Jira REST Api? I try the requests from the web page but I am not successful.
E.g. https://jira.url/rest/slack/latest/oauth/begin/XXXX returns 500.
It obviously requires oAuth but I fail on the first step. Probably there is a separate way for the REST Api.
I am using a bearer token authentication.
The direct POST request https://jira.url/slack/dedicatedchannel requires preliminary oAuth request to Slack to allow it.