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

JQL should not fail when project is hidden

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • None
    • JQL

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

      If a JQL query has the clause project in ("A", "B"), and a particular user does not have Browse permission on project B, then the query fails with the error "The value 'B' does not exist for the field 'project'".

      JQL should rather just return issues from project A for that user. JIRA shouldn't explode just because some issues are hidden.

      This is a problem because JQL queries are often reused, eg. on dashboard filters. In my case, projects A and B have a "Pending Approval" status, and I wish to show managers a dashboard of all their "Pending Approval" issues. Because of the above error, this is not possible. project in ("A", "B") fails, as does project != B and any other variant of project mentioning B.

              Unassigned Unassigned
              97bf41494e76 Jeff Turner
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: