Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
2
-
Minor
-
Description
Issue Summary
Duplicating the "Administrator" role in the "Manage roles" section of the Team Management project resulted in a 400 error.
It is possible to duplicate the “Viewer” and “Member” roles, but it is not possible to duplicate the "Administrator" role.
This error did not occur in the team management project created around 2023/12.
It only occurs on newly created Team Management projects.
Steps to Reproduce
- Create Team-managed project
- Project settings > Access
- Click [Manage roles]
- Click “Administrator”’s duplicate role
- Click [Create]
※ At this time, an error occurs even if all checkboxes for [People in this role can] are empty.
Expected Results
The "Administrator" role is duplicated.
Actual Results
400 error occurs
response header
HTTP/2 400 date: Wed, 28 Feb 2024 02:09:24 GMT content-type: application/json;charset=UTF-8 server: AtlassianEdge timing-allow-origin: * x-arequestid: 8529a7005c182e766a665fea9101c074 cache-control: no-cache, no-store, no-transform x-content-type-options: nosniff x-xss-protection: 1; mode=block atl-traceid: bd437e2386df4b9b86875018e3815b97 report-to: {"endpoints": [{"url": "https://dz8aopenkvv6s.cloudfront.net"}], "group": "endpoint-1", "include_subdomains": true, "max_age": 600} nel: {"failure_fraction": 0.001, "include_subdomains": true, "max_age": 600, "report_to": "endpoint-1"} strict-transport-security: max-age=63072000; includeSubDomains; preload X-Firefox-Spdy: h2
Request:
{ "roleUuid": "b34af802-c550-47e3-a816-7099f6e88b4b", "name": "Administrator Copy", "description": "Admins can do most things, like update settings and add other admins.", "permissions": [ "BROWSE_PROJECTS", "EDIT_ISSUE_LAYOUT", "EDIT_WORKFLOW", "CLOSE_ISSUES", "RESOLVE_ISSUES", "VIEW_READONLY_WORKFLOW", "ASSIGNABLE_USER" ] }
Response:
{"errorMessages":[],"errors":{"permissions":"The 'EDIT_ISSUE_LAYOUT,EDIT_WORKFLOW' permissions are invalid"}}
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available