-
Bug
-
Resolution: Unresolved
-
Medium
-
Minor
-
0
Issue Summary
When the user changes restriction roles to any ticket, automation fails to trigger transition rules. due missing permissions from actor (addon_com.codebarrel.addons.automation
addon_com.codebarrel.addons.automation user is not able to read issues that are restricted to other roles where this user is not assigned (by default is assigned to atlassian-addons-project-access role), you cannot add roles to this user, because security groups or the user itself is not assignable.
Steps to Reproduce
- Create an automation rule that is triggered in any transition.
- Create an issue.
- Change restrictions to the Administrator role only.
- Transition this issue.
- Automation rule must fail due to a lack of permissions on Actor.
Expected Results
Rule Execution
Actual Results
Actor does not have permission to view one or more issues, or the issue was deleted (please check permissions and issue security levels):
Comment (id:10134) for issue NGS-1 (id:10163)
Workaround
Change the rule actor to a user that has permission.
- is related to
-
AUTO-442 Automation Rule fails with permission error in Team-managed project for Issue Types with Restriction applied
-
- Closed
-
- relates to
-
JRACLOUD-83386 Projects migrated from External tools to Jira Team-Managed project using import to Jira function fails to create automation rule with actor Automation for Jira
-
- Gathering Impact
-
- mentioned in
-
Page Failed to load
- mentions
-
PSCLOUD-50771 You do not have permission to view this issue
Regarding the workaround: the only option is to set another JIRA user as the actor. Although this fixes the permissions issue, this can cause confusion as the automation actions will appear as if it was a manual action from a user. For example: "User A has transitioned this issue from in progress to done".
A second workaround for that is to invite a dedicated new user to the organisation, call it 'Jira automation' and assign that as the Actor. So at least it will be clear it was an automation rule. This will however cost a dedicated Jira seat, so a fix from Jira is still very much desired (or a free Jira seat
)