Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-20835

User with "Manage sprints" permission not able to manage the sprints when the board JQL filter contains fields with external context

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 7.1.0, 8.3.3, 8.7.0
    • Sprint
    • None

    Description

      Problem Description

      Users with the "manage sprints" project permission are not able to create sprint or stop sprint, below error is seen:

      You need the Manage Sprints permission for all the projects in the origin board to create a sprint
      

      When you have a filter query with fields that span across other projects where the same user is not a project administrator or doesn't have the manage sprint permission. This happens despite having the filter constructed with project-specific, for more information, refer to the steps to replicate below.

      Steps to replicate

      1. Create 2 projects with 1 issue each on the project (Project A and Project B)
      2. Create a label (example of the field) and mark it on the issue for both project (example: labeling). This is to make sure the field's context incluudes both projects.
      3. Grant the user project administration and manage sprint permission in project A
      4. Ensure that the user has no such permission in project B
      5. Create a board with the query below:
        project = "Project A" and labels in (labeling) ORDER BY Rank ASC
        
      1. Load the board for test user that follow the criteria given for step 3 and step 4

      Expected result

      User is able to create sprint since the filter should only return issues from project A

      Actual result

      User is unable to create sprint, they receive an error mentioning that they don't have permission.

      Workarounds

      Suggested

      • Provide user "Manage Sprint" permission across all permission schemes

      Alternatives

      • Create another temporary board without any sub query Eg: Project = TEST order by RANK ASC, create the sprint there. Use quick filter to filter the fields instead.
      • To start sprint, get administrator to initiate the sprint at this moment.
      • Provide a user "JIRA Administrator" Global Permission to Start/Stop any sprint

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mdhahak@atlassian.com Meriem Dhahak
              Votes:
              21 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated: