Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-37267

duplicate issues created when clicking on create button multiple times

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 9.4.12, 9.11.3, 9.12.0
    • 6.1.7, 6.4.3, 7.1.8, 7.1.9, 7.3.1, 7.7.2, 7.10.1, 7.11.2, 7.12.3, 8.5.3, 8.13.3, 8.13.4, 8.13.6, 8.16.0, 8.16.2, 8.20.0, 8.20.10, 8.20.11, 8.21.0, 8.22.2, 9.1.1, 9.5.0
    • Issue - Create Issue
    • 6.01
    • 72
    • Severity 3 - Minor
    • 92
    • Hide
      Atlassian Update – 23 October 2023

      Thank you for reporting this issue. In recent weeks, we have revisited the issue and worked on an appropriate bug fix.

      Summary of the problem:
      The Create Issue view allowed duplicate issues to be created by clicking the "Create" button multiple times. The submit button was not disabled when submitting the form. If the request was slower than expected, the user would click the button again to "retry" the action which would end up duplicating the request and causing a problem.

      New behavior after the change:
      When a user submits the form in the Create Issue view, the "Create" button is disabled so no duplicate requests are sent when the button is clicked multiple times.

      Status of the fix and Fix Version:
      The fix is ready and due to the inconveniences that this bug caused, together with multiple requests to backport the fix to 9.4, we decided to do it right away. Please note that the fix did not appear on the 9.6 version (as originally planned). The fixed versions are as follows: 9.4.12 (LTS), 9.11.3, and 9.12.0 (LTS).

      Show
      Atlassian Update – 23 October 2023 Thank you for reporting this issue. In recent weeks, we have revisited the issue and worked on an appropriate bug fix. Summary of the problem: The Create Issue view allowed duplicate issues to be created by clicking the "Create" button multiple times. The submit button was not disabled when submitting the form. If the request was slower than expected, the user would click the button again to "retry" the action which would end up duplicating the request and causing a problem. New behavior after the change: When a user submits the form in the Create Issue view, the "Create" button is disabled so no duplicate requests are sent when the button is clicked multiple times. Status of the fix and Fix Version: The fix is ready and due to the inconveniences that this bug caused, together with multiple requests to backport the fix to 9.4, we decided to do it right away. Please note that the fix did not appear on the 9.6 version (as originally planned) . The fixed versions are as follows: 9.4.12 (LTS), 9.11.3 , and 9.12.0 (LTS).

      Issue Summary

      Basically, this behaviour is actually similar the following report (which I believe it is actually a regression from the previous JIRA itself):

      Steps to reproduce this behaviour:

      1. Right click on the create issue button and then select open link in new tab
      2. From there try to fill up all the required field
      3. Click on the Create button multiple times

      Expected results:

      It is possible to create one issue only.

      Actual results:

      Multiple duplicate issues created with the same Summary field being created.

      Notes:

      • When you click directly on the create issue button, the create issue form will appear in a popup form which uses different logic. That user scenario is affected by JRASERVER-76920.
      • This bug relates only to standalone mode (separate view) - that can be accessed by opening the "Create" button link in a new tab.

      Workaround:

      Click the "Create" button once and wait for the request to finish. Do not attempt multiple clicks while page is not navigated/refreshed.

        1. createspam.har
          11.09 MB
          Bryce Noble
        2. Firefox(Version 91).mp4
          1.00 MB
          Naveen Ravi
        3. Google Chrome(89).mp4
          1.31 MB
          Naveen Ravi
        4. Incognito mode.mp4
          993 kB
          Naveen Ravi
        5. Jira 8.13.1.mov
          9.60 MB
          Shreekesh Mohan

              b6cf9181bff6 Krystian M
              rchiquete Rene C. [Atlassian Support] (Inactive)
              Votes:
              102 Vote for this issue
              Watchers:
              110 Start watching this issue

                Created:
                Updated:
                Resolved: