Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-5342

Web Item Fragment REST Endpoint run twice in Issue detail view

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Triage
    • Low
    • Resolution: Unresolved
    • 6.13.0, 6.27.0
    • None
    • Script Fragments
    • None
    • 2.3

    Description

      SUMMARY:

      Web Item Fragment REST Endpoint run twice in Issue detail view

      STEPS TO REPRODUCE:

      1. Create a Web Item and Rest Endpoint following our documentation.
      2. Web item configuration
      3. Rest Endpoint configuration
      4. Open issue detail view from Backlog
      5. Click on three-dot to select more action:
      6. Click on our Web-item

      EXPECTATION:

      The fragment REST triggers once and shows only one Flag.

      ACTUAL:

      The fragment REST trigger twice and show two Flag.

      In the HAR file request:

      WORKAROUND:

      Click the fragment from the issue view screen. The Endpoint will trigger once as expected.

       

      NOTES:

      Recording:
      Fragment Rest Run 2 times.mp4

      Can be reproduced:
      Jira: 8.5.9
      ScriptRunner: 6.16, 6.27

      Can't be reproduced:
      Jira: 8.14.0
      ScriptRunner: 6.27

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aomar Amirul Omar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: