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

Some Web Panels are still visible even if the condition is false

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Triage
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 5.6.7.1-jira8
    • Fix Version/s: None
    • Component/s: Fragments
    • Labels:
      None
    • Critical Points:
      0.6

      Description

      Few web panels are created and should be hidden if the issue status is not "To Do". However, only some panels are hidden, other panels remain visible until the page is refreshed.

      Steps to Reproduce

      1. Go to Fragments > Create Script Fragments > Show a web panel

      2. Create the web panels by following the steps here: Web Panel
      Location:

      atl.jira.view.issue.right.context

      Condition: 

      issue.status.name == "To Do"

      3. Go to the issue with "To Do" status and the panels are shown.

      4. Then transition the status to any other statuses.

      Expected Behaviour

      All the panels should be hidden automatically without the need of refreshing the page.

      Actual Behaviour

      Only some panels are hidden automatically while the other panels are still visible. 

      Temporary Workaround

      Refresh the page and all the remaining panels will be hidden.

      Additional Info

      • Replicated the issue in Scriptrunner 5.6.7.1-jira8 and 6.16.0.
      • I've created 6 panels (Panel 1 to Panel 6) and I noticed that the even numbers of the panels' position (Panel 2, Panel 4, Panel 6) remain visible after the status had been transitioned. 

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jpang JJ Pang
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: