Parallel API calls to the Users endpoint cause a duplicate of team assignment

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 11.22.0
    • Affects Version/s: 10.132.3
    • Component/s: Team - Other

      Issue Summary

      In case parallel calls happen to the endpoint Users, trying to add a user to a team, a duplicated entry will be created for that user:

      And the Audit logs:

      By Diego via API on 5/23/2024 1:25:18 PM
      User Updated -
      User Added To Teams: Diego Program 1 Team, Diego Agile Team 1.1
      
      By Diego via API on 5/23/2024 1:25:18 PM
      User Updated -
      User Added To Teams: Diego Program 1 Team, Diego Agile Team 1.1
      

      Steps to Reproduce

      1. Run a parallel PUT API call to endpoint users using a payload to add a new team
      2. Check the teams the user is assigned to

      Expected Results

      The user would be added only once to the team.

      Actual Results

      The user is added multiple times to the team.

      Workaround

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

              Assignee:
              Juan Arias
              Reporter:
              Diego Larangeira
              Votes:
              8 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: