Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-11516

Forms API/Automation: Multiple attach/copy forms actions executing simultaneously results in undefined behaviour

XMLWordPrintable

      Issue Summary

      When we have different automation rules and/or API requests that are triggered at the same time to add different forms, some forms may not be added to the ticket. There is a concurrency/race condition problem occurring when multiple Attach forms actions are triggered simultaneously. So, if we add two forms at exactly the same time, one of them may end up becoming overwritten.

      Steps to Reproduce

      Create different automation rules to attach different forms to the ticket using the same trigger(i.e. Issue created) and/or use concurrent public API requests to attach forms to the issue.

      Expected Results

      The forms will be added to the ticket.

      Actual Results

      Some forms will not be attached to the ticket, even though the Audit log associated with the automation shows that the form has been attached and/or the public API request was successful.

      Workaround

      The current workaround is to restructure the logic and rules so that only one Forms action executes at a time on the issue. We can see more details about it in the following document:

              ce32e1789db7 Evan Bennett
              9330a841afd3 Bruna Silva
              Votes:
              21 Vote for this issue
              Watchers:
              40 Start watching this issue

                Created:
                Updated:
                Resolved: