Hello,
I have setup a webhook that call some API, and I need that API to retrieve the JIRA issue from a PullRequest.
I went trough the forum, and found some Atlassian staff recommending to use internal API even tho it might break at any time.
I did that and I am trying to fetch from
`https://bitbucket.org/!api/internal/repositories/{workspace}/{repo}/pullrequests/{pull_request}/jira/issues?page=1`
I use a Bearer token retrieve from OAUTH using
`https://bitbucket.org/site/oauth2/access_token` and a client ID with repository/pull request/pipeline access.
The issue I have is, querying this endpoint with a token will return a status 200 but NO ISSUES.
If I query using the cookie `cloud.session.token` then the issues are populated.
I would like to know what are the reason for such behavior, and how to workaround.
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.