Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-23867

Creating PRs with API Tokens do not add default reviewers

XMLWordPrintable

      Issue Summary

      • If a Pull Request is created with an API Token, the default reviewers do not get added automatically to the PR.

      Steps to Reproduce

      1. Add a default reviewer to a repository/project
      2. Create a Project or Repository Access Token with scopes to create a PR
      3. Create the PR using the API

      Expected Results

      • The default reviewers should be added to the PR

      Actual Results

      • The PR gets created with no default reviewers

      Workaround

      • In order to workaround this, the user must check before creating the PR:
        • Who are the default reviewers for that project/repository
        • What's their UUIDs
        • Add the reviewers to the API call Payload on the PR creation moment

              Unassigned Unassigned
              0298b2749e0b Mateus T
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: