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

Filters affected by JRA-62386 are breaking Pie Charts

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary

      As described on JRA-62386:

      When a saved filter contains a project, which JQL has the project name or project key, and a user that don't have permission to view this project access this filter, the project name/key in the filter change to its database ID to all users accessing this filter.

      This makes Pie Chart gadgets unavailable for all customers.

      Steps to Reproduce
      1. Create a filter containing a project (or some projects), like project in (ABC, XYZ)
      2. Save this filter sharing it publicly
      3. Use the saved filter in a Pie Chart gadget
      4. Set another user to have permission to view projects ABC and XYZ
      5. With this user, access a Dashboard with the Pie Chart gadget.
      6. Set a third user not to have permission in one of the projects (ABC or XYZ)
      7. With this third user access a Dashboard with the Pie Chart gadget.
      8. With the second user refresh the page.
      Expected Results

      The Pie Chart should be displayed normally for the second user.

      Actual Results

      It returns the following error: "Unfortunately, one or more of your preferences are now unavailable. Please update your preferences, or remove gadget by clicking delete from the title bar above."

      Sometimes the pie chart gadget will show "Looks like we can't show you the content of this gadget due to its configuration. The filter could not be found. Check that it exists and that you have permission to see it."

      Workarounds
      • Favorite/unfavorite the affected filter. This will flush the caches and the filter will be reloaded correctly.
      • Share the filter only with groups/users that have permission to view the projects in the filter

      Attachments

        Issue Links

          Activity

            People

              nwroblewska Natalia Wroblewska
              rrosa@atlassian.com Rodrigo Rosa
              Votes:
              29 Vote for this issue
              Watchers:
              37 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: