Hello,
I am trying to test the creation of issues on a private issue tracker in one of my workspaces. I am using our development cloud app to authenticate the calls, with the scopes "issue:write", "repository", "account", and "pullrequest". According to the docs: https://developer.atlassian.com/cloud/bitbucket/rest/api-group-issue-tracker/#api-repositories-workspace-repo-slug-issues-post all I should need is the "issue:write" scope.
I then tried adding more scopes to see if there was some other scope I needed, but even after re-installing the app on my workspace and completely removing/installing it, I still can't create the issues .
I tried exchanging the JWT I am creating for an access token in order to view the scopes, and the scopes don't seem to have the updated scopes I added to the descriptor (though it still has issue:write, account, and pullrequest)
I see the additional scopes when I am authorizing the install of the app, so it is strange to me that the JWT doesn't seem to get the new ones.
So I have 2 problems:
1. The "issue:write" scope doesn't seem to be enough to create issues on a private issue tracker, even combined with the "repository" scope.
2. I don't get updated scopes if I update my app and generate a new JWT. The app isn't on the marketplace, so I am using its install url directly.
Hi Joseph and welcome to the community!
I haven't been involved with app development so I don't know the answer to your questions. I just wanted to suggest posting your question in the developer community, as this is specifically for app development questions:
Kind regards,
Theodora
Oh, awesome I'll go post it there!
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.