I’m trying to follow the instructions laid out inhttps://jira.atlassian.com/?browse/JSWSERVER-15768 to access commit info for an issue using an internal API endpoint. I’ve linked a branch in Bitbucket Server to a specific issue and I want to be able to access info about it programmatically.
The problem I’m having is with the second API call to /rest/dev-status/latest/issue/detail?issueId=<ID>&applicationType=stash&dataType=repository. For some reason, I get a response which includes an applicationLinkId and error: unauthorized. What steps do I need to take to be able to access Bitbucket-related info?
FYI I’m using a JIRA API access token in my headers for authentication.