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

JQL filter False Error: Project doesn't exist should be no permission

      Problem statement:

      During a JQL filter, projects with no permission gives a false error of non existent instead.

      Steps to Reproduce:

      1. As an admin, create several new projects (TIA,TIB,TIC,TID,TIE).
      2. As an admin, specify ONLY user A with granted permission for viewing project TIE.
      3. As an admin, perform a JQL filter including the 5 projects. (non existent project TIE false error)

      Current/Actual behavior:

      False Error
      "A value with ID 'E' does not exist for the field project".

      Add TIE in filter.

      Expected Behavior:

      Instead of Error Text - A value with ID 'TIE' does not exist for the field 'project'
      Replace with
      "User does not have permission for value with ID 'TIE' in the field project"
      OR
      "Project with ID 'TIE' does not exist"
      while
      ALWAYS showing the rest of the filter Results.

      Additional Info:

        1. Screenshot 2014-12-10 11.31.38.png
          184 kB
          Zahiruddin Ahmad
        2. Screen Shot 2014-12-15 at 9.23.14 PM.png
          37 kB
          Zahiruddin Ahmad
        3. Screen Shot 2014-12-15 at 9.23.47 PM.png
          58 kB
          Zahiruddin Ahmad

            [JRASERVER-41253] JQL filter False Error: Project doesn't exist should be no permission

            Please let me know why this is not solved since ages?

            BR

            Heiko

            Heiko Gerlach added a comment - Please let me know why this is not solved since ages? BR Heiko

            Atlassian treats this a "Not a bug" , but it is not logical to me. And it looks like most of the Jira users expect just another behavior - which seems more logical to me.

            At least Atlassian should offer another solution how we can achieve it.

            The improvement https://jira.atlassian.com/browse/JRASERVER-40245 is open since 2014 and still in status "Gathering interest"

            Robby Berner added a comment - Atlassian treats this a "Not a bug" , but it is not logical to me. And it looks like most of the Jira users expect just another behavior - which seems more logical to me. At least Atlassian should offer another solution how we can achieve it. The improvement https://jira.atlassian.com/browse/JRASERVER-40245 is open since 2014 and still in status "Gathering interest"

            I've been noticing the same thing in the REST Api (/search?jql='jql'), when searching for project=x OR project = y (y does not exist), I get no return issues even though project x exists.

             

            this applies to other fields. eg.

            ... project=x OR status=notastatus
            {
              "errorMessages": [
                "The value 'notastatus' does not exist for the field 'status'."
              ],
              "errors": {}
            }

            Obviously I would have liked to get the results of project=x since there are some values where this is true. I just find it a little less intuitive since I'm coming from SQL.

             

            Anyway, I know this is an old thread, but does anyone know if this sort of thing has been resolved?

            Isaac Abramowitz added a comment - I've been noticing the same thing in the REST Api (/search?jql='jql'), when searching for project=x OR project = y (y does not exist), I get no return issues even though project x exists.   this applies to other fields. eg. ... project=x OR status=notastatus { "errorMessages" : [ "The value 'notastatus' does not exist for the field 'status' ." ], "errors" : {} } Obviously I would have liked to get the results of project=x since there are some values where this is true. I just find it a little less intuitive since I'm coming from SQL.   Anyway, I know this is an old thread, but does anyone know if this sort of thing has been resolved?
            Bugfix Automation Bot made changes -
            Minimum Version New: 6.03
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2844178 ] New: JAC Bug Workflow v3 [ 2914533 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2581449 ] New: JAC Bug Workflow v2 [ 2844178 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1541096 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2581449 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: ho-jql-backend New: affects-server ho-jql-backend
            Hannes Obweger (Inactive) made changes -
            Labels New: ho-jql-backend
            Hannes Obweger (Inactive) made changes -
            Component/s New: Issue Navigation & Search - JQL [ 43398 ]
            Component/s Original: Issue navigator [Deprecated] [ 10670 ]

              Unassigned Unassigned
              zahmad Zahiruddin Ahmad (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: