Automation not triggered when permission changes

Onur Cevik
Contributor
January 23, 2024

Hey,
I have an automation rule that assigns an issue to its reporter when it's moved to another column on the board. It has worked yet.
Yesterday I changed the permission screen so that only the creator, assignee and administrator can see their own issues. Since yesterday I get an error message saying that the automation has failed because the actor does not have permission to see the issue. Can anyone help me? How do I solve the problem in order to get my desired settings to assign a certain person as assignee and that the creator can only see it´s own issues (the assigned person and administrator have to see all issues)? Screenshots below.Bildschirmfoto 2024-01-23 um 09.07.06.pngBildschirmfoto 2024-01-23 um 09.08.29.pngBildschirmfoto 2024-01-23 um 09.09.06.png

1 answer

0 votes
Jeroen Poismans
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 23, 2024

Hi!

Seems so that by changing the permissions, you also changed them for the actor of your rule.

The actor should have permission to view the issue (Browse project) + should also be able to assign issues (Assign issue permission) on project level.

Who is the actor of your rule? You can find this in the Rule details. There is a built-in actor available (Automation for Jira) which should solve most of your permission related issues in rules.

Regards!

Onur Cevik
Contributor
January 30, 2024

Thanks. I try to solve it by adding a filter.
project = SYS AND (creator = currentUser() OR assignee = currentUser() OR projectsWhereUserHasRole("Administrators") = currentUser())
ORDER BY Rank ASC

Do you know why it does not work?

Onur Cevik
Contributor
January 30, 2024

projectsWhereUserHasRole... does not work because the field is not included in my mask. But is there a way to assign certain persons to currentUser?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events