Can't complete the sprint
Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.
A user is unable to complete a sprint due to the button "Complete Sprint" being grayed out.
You don't have the right permissions: You must have the JIRA 'Manage Sprints' permission for all projects which JIRA Board BoardA include. BoardA is the board owning the SprintA.
Resolutions are ways to fix problems in the application once and for all, generally these wouldn't be hacky solutions.
- Check JQL (filter) for the BoardA, it should show which project are included in the board.
- When the board has a complex filter, simplify the filter. See Using Manage Sprints permission for advanced cases for more details on how to proceed
- For each included project, check permission for UserA using Permission helper: it should show that user has a Manage Sprints permission.
- Fix/add permissions, if required
- If the problem still persist, most probably that SprintA doesn't really belongs to BoardA. The fact that SprintA displays at BoardA doesn't mean that BoardA owns it, SprintA could be owned by BoardB. Steps to check this:
- Find ID of SprintA, let's say it's 7, see JIRA Software: How to search for a Sprint using JQL
- Find ID of BoardA, let's say it's 1, you can get it from URL: secure/RapidBoard.jspa?rapidView=1
Check mapping from AO_60DB71_SPRINT table by running SQL:
select "ID","NAME","RAPID_VIEW_ID" from "AO_60DB71_SPRINT" where "ID"= <ID of SprintA>;
select "ID","NAME","RAPID_VIEW_ID" from "AO_60DB71_SPRINT" where "ID"=7; ID | NAME | RAPID_VIEW_ID ----+----------+--------------- 7 | Sprint 4 | 1
Check if RAPID_VIEW_ID matches ID_BoardA, if it doesn't then SprintA is owned by BoardB. Now you have id of BoardB.
If SprintA is owned by BoardB, then repeat Steps 1 and 2 taking into account BoardB.