Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-13500

Creating a Pull request using REST API and access token returns wrong author

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • High
    • None
    • 7.21.3
    • API - REST, Pull Requests

    Description

      Issue Summary

      When two users create Pull requests using Rest API and access tokens, the second PR created using the second user's access token, has the wrong author name.

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. A user creates Pull Request using Rest API with his own Access Token.
      2. PR is created with the correct author.
      3. After that, in a short period, A second user creates PR using Rest API with his own Access Token

      Expected Results

      • The second PR is created with the second user as the author.

      Actual Results

      • The second PR is created with the first user as the author. The output of the API command shows the author as the first user.
      • All next PRs in a short period (at least 5min) are created with the first user as the author

      The log also shows the first user is the author of the PR:

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Issue Links

          Activity

            People

              e74118b4e28d David Jansons
              4f892c8a4b3a Ivan Chaplynets
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: