-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Action - Issue Actions
-
Severity 3 - Minor
Issue Summary
Currently, if the actor of the rule is not a site administrator, the action component Set Work Item Security Level will fail.
Steps to Reproduce
- Create an automation rule on a given project that has a work item security scheme where the actor is not a site admin, but has the following permissions:
- Is part of the security level;
- Has permissions Browse Project, Set Issue Security Level, and Edit Issue.
- Configure a Set Work Item Security Level component on it, setting the security level.
- Verify the automation fails with the following error message:
We couldn't find details of a work item Security Scheme for this work item's project. Check the rule actor's permissions and try again.
Expected Results
Security level should be applied to the work item if the actor:
- Is part of the security levels in question;
- Has permissions Browse Project, Set Issue Security Level, and Edit Issue.
This would match the expectations a manual update would require.
Actual Results
The automation fails as it's unable to get a successful response from the endpoint Get issue security schemes, indicating the following:
We couldn't find details of a work item Security Scheme for this work item's project. Check the rule actor's permissions and try again.
Workaround
Users can update the rules to use the action component Edit Work Item (updating the field Security Level) instead of the Set Work Item Security Level.