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

A sprint cannot be managed if it was created from a board involving an archived project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 8.0.0, 8.5.0, 8.13.0, 9.4.0
    • Scrum Board, Sprint
    • None

    Description

      Issue Summary

      If the origin board of a particular Sprint is configured with an archived project, users will not be able to manage that Sprint from any board the Sprint is showing on (even if the users were granted the Manage Sprints permission within that project).

      Steps to replicate

      • Install Jira Software
      • Create 2 projects
        • Project 1
        • Project 2
      • Create 2 boards
        • Board 1
          • Configure this board with a filter that involves Project 1
        • Board 2
          • Configure this board with a filter that involves Project 2
      • Create the Sprint Sprint 1 from Board 1 (Board 1 is the origin board of this Sprint)
      • Add issues from the Projects 2 to Sprint 1
      • Verify that Sprint 1 is showing on Board 2 (since it contains issues from Project 2, which is involved as per the Board 2 filter)
      • Archive Project 1 (via the page Jira Admin > Projects)
      • Create a few more Sprints, this time on Board 2
      • Try to perform the 2 actions below from Board 2
        • Action 1
          • Click on the 3 dots ... next to Sprint 1 and click on either Move Sprint Down or Move Sprint Up
        • Action 2
          • However over the Start Sprint button next to Sprint 1

      Expected behavior

      Action 1

      We should be able to move the Sprint up and down.

      Action 2

      The Start Sprint should not be greyed out and should be clickable.

      Actual behavior

      Action 1

      The Sprint cannot be moved up and down, due to the error below:

      To update this sprint, you must either have the Manage Sprints or the Edit Sprints permission for all of the following projects: "Project 1".
      

      Action 2

      The Start Sprint button is greyed out, due to the error below:

      You need the "Manage Sprints" or "Start/complete sprints" permission for all projects in the origin board to manage this sprint
      

      Workaround

      Workaround 1

      Un-archive the project.

      Workaround 2

      If un-archiving the project is not an option, follow the steps below instead:

      • Identify the origin board of the impacted Sprint
        • To do it, you can run the following SQL query:
          select R."NAME" as BoardName, R."ID" as BoardID, S."NAME" as SprintName, S."ID" as SprintID
          from "AO_60DB71_RAPIDVIEW" R
          join "AO_60DB71_SPRINT" S on R."ID" = S."RAPID_VIEW_ID"
          where S."NAME" = '<SPRINT_NAME>';
          
      • Go to the configuration page of the origin board
      • Edit the filter query associated to this board, by removing the archived project from this filter, and adding any SCRUM project instead, and save the filter
      • Make sure that the users who need to manage the Sprint are granted the Manage Sprints Permission that project

      Attachments

        1. ObservedBehavior1.png
          ObservedBehavior1.png
          253 kB
        2. ObservedBehavior2.png
          ObservedBehavior2.png
          214 kB

        Activity

          People

            Unassigned Unassigned
            jrey Julien Rey
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: