"You do not have permission to edit the following issues:" - Cannot close Sprint

JamesTontarski January 24, 2018

The sprint board has 5 columns: To Do, In Progress, Completed, Verified, and Closed. The majority of stories and sub-tasks have been closed. I wish to complete the sprint and move the remaining items to the next sprint.

 

However, I have several items with Type = Defect and Status = Verified in the Verified column. I am getting the error: "You do not have permission to edit the following issues: [list of Defects]."

Is there a way to close the sprint without having to close the Defects? The PO wants to review them after our sprint is supposed to end.

2 answers

0 votes
somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 24, 2018

Hi James,

The first thing you need to do is verify you can close all the Defects in the project you have in the Sprint.  Next, there is a possibility some issues are being pulled into the Sprint that you actually don't have permissions for:

  • Check JQL (filter) for the BoardA, it should show which project are included in the board. 
    1. When board has complex filter, simplify the filter. See Using Manage Sprints permission for advanced cases for more details how to proceed 
  • For each included project, check permission for UserA using Permission helper: it should show that user has a Manage Sprints permission.
    1. Fix/add permissions, if required 
  • If 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:
    1. Find ID of SprintA, let's say it's 7, see JIRA Software: How to search for a Sprint using JQL
    2. Find ID of BoardA, let's say it's 1, you can get it from URL: secure/RapidBoard.jspa?rapidView=1
    3. 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>;

      Example:

       select "ID","NAME","RAPID_VIEW_ID" from "AO_60DB71_SPRINT" where "ID"=7;
       ID |   NAME   | RAPID_VIEW_ID
      ----+----------+---------------
        7 | Sprint 4 |             1
    4. Check if RAPID_VIEW_ID matches ID_BoardA, if it doesn't then SprintA is owned by BoardB. Now you have id of BoardB. 

    5. If SprintA is owned by BoardB, then repeat Steps 1 and 2 taking into account BoardB. 

Hopefully that helps.  Let us know and we'll go from there.

Cheers,

Branden

0 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 24, 2018

You need to have permissions to edit the list of defects you see, when you close the sprint Jira will move those to the next sprint, or the backlog if you have not created another sprint. If you do not have the right permissions Jira cannot move those issues and close the sprint.

Suggest an answer

Log in or Sign up to answer