Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-78137

Fix race condition with Add Component REST API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • Issue - Backend
    • None

      It is found that we are getting race conditions when calling issue updates via PUT /rest/api/2/issue .

      We are using the format of update with add to add components to an issue, but are finding that concurrent requests can cause subsequent requests to override and therefore ‘delete’ components from the earlier requests (ie, Request 1 -> add a, Request 2 -> add b , Request 2 also deletes a if the requests are timed closely to each other).

              Unassigned Unassigned
              ssingh7@atlassian.com Sugandha Singh
              Votes:
              7 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: