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

Web items trigger dialog/flag not working for items in the Projects menu (and possibly other menus)

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.11
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 28 - Ends Apr 19, Sprint 29 - Ends 10 May, Sprint 30 - Ends June 20, Sprint 31 - Ends June 27
    • Critical Points:
      0.5

      Description

      If you set up a scripted Web Item to go into the browse_link/project_current with the "Run code and display a dialog" action or "Run code and display a flag", the link it creates will redirect to the REST endpoint's page, rather than displaying the dialog.

      This seems to be because the sr-trigger-dialog class gets added to the parent li element, rather than the a element. This doesn't happen in other contexts, though, such as the operations-top-level menu used as an example in the documentation.

        Attachments

          Activity

            People

            Assignee:
            jcarter Jonny Carter
            Reporter:
            jcarter Jonny Carter
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: