-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 11.30.1
-
Component/s: Product - Settings|Setup - Roles, Time - Sprints
-
None
-
1
-
Severity 2 - Major
-
No
-
None
Issue Summary
The Delete button under Team details → Sprints is missing for users whose System Role allows sprint deletion but does not allow team deletion.
The behavior has been reproduced by Support and confirmed by the customer. Internal investigation identified that the Sprint Delete button is initially rendered based on Sprint permissions, but subsequent Team-page permission handling incorrectly removes it.
The Team and Sprint Delete controls share the internal identifier btnDeleteSelected. When Teams → Delete is disabled, the page’s permission-handling JavaScript removes matching controls, including the Sprint Delete button.
This prevents users from accessing an authorized Sprint action unless they are also granted the separate permission to delete teams.
Steps to Reproduce
- Create or use an isolated System Role assigned to a non–Super Admin test user.
- Ensure the user can access an Agile team containing at least one sprint.
- Configure the System Role as follows:
-
- Team → Manage → Sprints → Delete: Enabled.
-
- Additional Options → Permissions → Delete Agile Objects: Enabled.
-
- Team → Manage → Teams → Delete: Disabled.
- Save the role configuration.
- Sign in as the test user using a fresh private/incognito browser session.
- Open the Agile team’s details slide-out and select the Sprints tab.
- Observe that the Delete button is missing.
- As an administrator, enable Team → Manage → Teams → Delete for the same isolated role. Leave all other permissions and team settings unchanged.
- Save, then start a fresh test-user session.
- Open the same Team details → Sprints tab.
- Observe that the Delete button is now visible.
Optional diagnostic verification:
Capture the Team-details request in browser DevTools:
GET /editTeam?FirstTime=True&TeamID=<TEAM_ID>&SOP=1
With Teams → Delete disabled, inspect the response body for the following statements within followUpToUserPermissions():
$('[id^=btnDeleteSelected]:not()').remove();$('[class*=btnDeleteSelected]:not()').remove();
No sprint needs to be deleted to reproduce this visibility issue.
Expected Results
The Sprint Delete button should be available when the user has the applicable Sprint deletion permissions and meets any other valid Sprint-specific requirements.
Disabling Teams → Delete should not remove the Sprint Delete button from the Team slide-out.
Actual Results
The Sprint Delete button is removed when Teams → Delete is disabled, despite the Sprint deletion permissions being enabled.
Enabling Teams → Delete restores the button, requiring an additional team-deletion capability to expose a Sprint action.
*The below exception is thrown in the xxxxxxx.log file:*
No server-side exception has been identified. The relevant Team-details requests return HTTP 200. The observed issue is removal of the Sprint Delete control by permission-handling JavaScript in the returned page
Workaround
Enable Team → Manage → Teams → Delete for the affected user’s System Role:
- Open Settings → Access Controls → Roles.
- Select the relevant System Role.
- Enable Team → Manage → Teams → Delete, leaving the existing Sprint deletion permissions enabled.
- Save the role configuration.
- Have the user sign out and sign in through a fresh session, then reopen Team details → Sprints.
Support and the customer confirmed that this restores button visibility.
Important: This workaround grants a separate team-deletion permission and affects every user assigned to the modified role. Apply it only after an authorized administrator reviews and approves the additional access. Test with an isolated role first. This is not a permanent fix.
- is mentioned by
-
ALIGNSP-35396 Loading...