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

Shared filter queries don't work with "Filter Result" gadget if login user doesn't have browse permission on one of the projects.

    XMLWordPrintable

Details

    Description

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

      Steps to Reproduce:

      1. Create a shared filter having similar JQL:

      project in (PROJECT1, PROJECT2) ORDER BY created DESC
      

      2. Login as a user having only browse permission for "PROJECT2".
      3. View the filter in issue navigator.
      4. It shows user the number of issues allowed to see. Add a "filter results" gadget on the dashboard.
      5. Select the filter.

      Result:

      The user gets error message "The selected filter filter-<ID> has an error: A value with ID '<ID>' does not exist for the field 'project'..

      Expected:

      Here also user should be able to view issues from project having browse permission.

      Notes

      Attempting to access the XML view of a filter with this configuration will result in a HTTP 400 with an error similar to "HTTP Status 400 - A value with ID '10000' does not exist for the field 'project'." as per the attached image.

      Attachments

        1. Filter.jpg
          57 kB
          Veenu Bharara
        2. HTTP 400 Error.png
          29 kB
          Dave C

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rguler Rahmani Guler [Atlassian]
              Votes:
              58 Vote for this issue
              Watchers:
              53 Start watching this issue

              Dates

                Created:
                Updated: