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

Shared filter queries break when users don't have browse permissions for projects in the search query

    XMLWordPrintable

Details

    Description

      Steps to replicate:

      • Create a shared filter having similar JQL:
        project in (PROJECT1, PROJECT2) ORDER BY created DESC
        
      • Execute the shared filter with a user that does not have browse permissions for project PROJECT1
      • The resulting JQL becomes:
        project in (10020, PROJECT2)
        
      • The non-viewable projects ID is replaced with numeric ID, and the sort order is missing
      • The filter initially displays the results with default sorting (Key descending) from under the View tab (even though the JQL summary is wrong), but once switching to Edit no results return with the displayed error message:
        "A value with ID '10020' does not exist for the field 'project'."
      • The user is unable to switch back to simple mode to edit the shared filter

      Attachments

        Issue Links

          Activity

            People

              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              rguler Rahmani Guler [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: