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

Fragment Web Item in Tempo drop-down menu doesn't open dialog box

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: L3
    • Resolution: Duplicate
    • Affects Version/s: 6.44.0
    • Fix Version/s: None
    • Component/s: Fragments, Third-Party Apps
    • Labels:
      None
    • Critical Points:
      2.1

      Description

      When using Fragment Web Item to open a dialog box, it will not work when it is placed in Tempo drop-down menu. Instead of popping up the dialog box, it will access the page directly instead.

      Steps to Reproduce

      1. Install Tempo and ScriptRunner 6.44.0 plugins
      2. Create a REST endpoint using the sample script here
      3. Create a Fragment Web Item:
        • What section should this go in: tempo_menu/tempo_menu_dropdown
        • Condition: return true
        • Do what: Run code and display a dialog
        • Link: /rest/scriptrunner/latest/custom/showDialog
      4. Click on the created Web Item
        • In the Jira Header, click on 'Tempo' and it should be there

      Expected Behaviour

      The Web Item would display a dialog box:

      Actual Behaviour

      The Web Item accessed the REST endpoint page directly instead:

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              imazuki Irfan Mazuki
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: