Steps to Reproduce:

      • Have more than one project with a planned Sprint.
      • Have users that don't have permissions on all these projects.
      • Run the below JQL specifying the project to search:
      project = "Project X" and Sprint IN futureSprints()
      

      Actual Behavior:

      Instead of showing only the issues in the project that the user has permission to view, the following error appears:

      Expected Behaviour:

      If I specified the project to see, it's not supposed to bring me those errors. Or at least it was supposed to bring the the issues which I have permission to see.

            [JSWSERVER-9815] JQL using futureSprints() is not respecting the filters

            Bugfix Automation Bot made changes -
            Minimum Version New: 6.03
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2852829 ] New: JAC Bug Workflow v3 [ 2937217 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2544310 ] New: JAC Bug Workflow v2 [ 2852829 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1550828 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2544310 ]
            Hannah McKenzie made changes -
            Link New: This issue is related to JSWCLOUD-15217 [ JSWCLOUD-15217 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: fixme future_sprints short-term New: affects-server fixme future_sprints short-term
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 908906 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1550828 ]
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: GreenHopper Kanban Workflow 20141014 [ 747255 ] New: JIRA Bug Workflow w Kanban v6 [ 908906 ]
            mtokar.adm made changes -
            Workflow Original: GreenHopper Kanban Workflow v2 [ 556631 ] New: GreenHopper Kanban Workflow 20141014 [ 747255 ]
            Ian Dick made changes -
            Confidence Level New: High [ 12130 ]
            Fix Version/s New: 6.3.6 [ 37698 ]
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

              idick Ian Dick
              aquadrospetry Andre Quadros Petry (Inactive)
              Affected customers:
              14 This affects my team
              Watchers:
              17 Start watching this issue

                Created:
                Updated:
                Resolved: