Details
-
Bug
-
Resolution: Fixed
-
Low
-
7.0.10, 7.2.0, 7.1.8, 7.3.0, 7.2.2, 7.1.9, 7.3.1, 7.5.2, 7.6.1, 7.2.4, 7.9.2
-
7
-
28
-
Severity 2 - Major
-
81
-
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
- Create a filter containing a project (or some projects), like project in (ABC, XYZ)
- Save this filter sharing it publicly
- Use the saved filter in a Pie Chart gadget
- Set another user to have permission to view projects ABC and XYZ
- With this user, access a Dashboard with the Pie Chart gadget.
- Set a third user not to have permission in one of the projects (ABC or XYZ)
- With this third user access a Dashboard with the Pie Chart gadget.
- 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
- is related to
-
JRASERVER-62386 Saved filter corrupted when accessed by a user without permission to view all projects referenced in the filter
- Closed
-
JRASERVER-45606 Filter JQL is showing Project IDs instead of Project Keys
- Closed
-
JRASERVER-70634 Pie chart error - you cannot see the content of this gadget due to its configuration
- Gathering Impact
- relates to
-
JRACLOUD-62419 Filters affected by JRA-62386 are breaking Pie Charts
- Closed
-
JRACLOUD-65372 Regression JRA-17411 - Misleading error when accessing Dashboards without permission to see gadgets' filters in JIRA Cloud
- Closed
-
JRASERVER-45227 Regression JRA-17411 - Misleading error when accessing Dashboards without permission to see gadgets' filters
- Closed