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

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: High
    • None
    • Affects Version/s: 7.21.3
    • Component/s: API - REST, Pull Requests
    • 1
    • Severity 3 - Minor
    • 2

      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

            Assignee:
            David Jansons
            Reporter:
            Ivan Chaplynets
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: