I have created a bunch of JIRA automation rules but they are not working. It seems the actor responsible for executing the rules does not have project permissions to do it.
Or at least is what I understood from this information displayed by JIRA:
Hello @Vinicius Correia
Thank you for reaching out.
The actor of your automation rule (Automation app user) is added by default to the role "atlassian-addons-project-access".
That being said, I suggest checking the following steps:
Let us know if you have any questions.
Hello @Petter Gonçalves
I am experiencing a similar issue when trying set issue security level from Project Automation. I have checked and the atlassian-addons-project-access role does have the Set Issue Security and Edit Issue permissions.
Also, I am successfully setting the assignee from the same automation rule. The attempt at setting issue security level is a second action on the same rule, but that fails.
Ok, I think I've solved my own problem.
The atlassian-addons-project-access role was not configured to be a member of the security level(s) that it was trying to set. Making this role a member of every security level in the scheme seems to have solved my problem.
It would seem that a user cannot set the security level of an issue to a level that excludes themselves. This may be obvious in hindsight, but it was not obvious to me. Live and learn.
@Petter Gonçalves your post pointed me to the atlassian-addons-project-access which gave me a starting point to work from. So, thank you!
@Petter Gonçalves How to solve a similar issue with Next-gen project while running my automation rules. I am getting the following error:
"Actor does not have permission to view one or more issues, or the issue was deleted (please check permissions and issue security levels)".
Actor in case is "Automation app user"
Any help is highly appreciated.
P.S.: The automation rules were running fine before we created custom roles. Not sure if that's causing the issue, but I'm not able to tie them together.
@John Funk , I asked the question here in the same thread as it pertained to a similar issue but with a different project type, but nonetheless I'll make sure the next time.
BTW does next-gen projects have a permission scheme?, all I Know is a user can be given access via the access menu.
I am having the same issue as @Vinicius Correia and I have checked that atlassian-addons-project-access does have Edit Issues permission for the project, so would appreciate assistance with trying to resolve the problem, please?
(I notice that @Vinicius Correia has not replied to say whether it resolved her problem?)
The Automation Audit Log for my rule (which is one from the library, rather than one that I have created) is below:
Regards, Andrew Tyler
Seems like lots of things can cause permission type errors with automation, so adding my solve:
For me, it was failing when trying to apply a comment as the Automation for Jira user. It was saying that my commenter was not in our team group. Which makes sense because not a user.
I had to click into the Then write a comment clause in the automation rules and there was a setting there for issue security! All I had to do was revert to the default issue security level.
Here's what that section in the automation rule looks like, if you're having trouble finding it. You have to click on the Then add comment to see it.
I'm trying to create a rule that assign a particular level of security based on the issue type.
I checked that:
- the atlassian-addons-project-access role is configured to be a member of the security level I'm trying to set, as suggested by @Willem Otto
- the atlassian-addons-project-access role has all the permissions in my project.
Attached is the log I get when I create the issue an the automatation runs.
Do you have any suggests? What am I missing?
Hi Community! The submissions are in (and listed below) for the 🍻🍂Apptoberfest🍂🍻 Demo Competition and it’s time for you to place your votes for the best: Analytics & reporting app demo ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events