Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I set the right permissions so Automation app user can do its stuff?

Hello there,

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:
Screenshot_1.png

4 answers

1 accepted

4 votes
Answer accepted

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:

  1. Navigate to the Project > Project settings > Permissions > check if the "atlassian-addons-project-access" is added to your project permission, especially in the "Edit issues" permission.
  2. If that didn't work, please provide us the audit log errors returned when you tried to trigger the rule

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.

Capture.PNGAny advice?

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!

Like # people like this

@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 Community Leader Jul 16, 2020

Hi Romel,

First, it is better to create a new question for each new situation. 

But for now, please check the permissions in the Permission scheme to make sure that the atlassian-addons group pretty much has all of the permissions. 

@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.

John Funk Community Leader Jul 16, 2020

I forgot it was a Next-gen project - thanks for that reminder. No, those project types don't have a permission scheme. I would back out your new custom roles one by one until it works again to see what was the culprit. 

Like # people like this

Hello, @Petter Gonçalves  and @John Funk 

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:

Automation Rule Error.PNGThank you.
Regards, Andrew Tyler

Like Alis likes this

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.

Screen Shot 2021-08-06 at 5.10.00 PM.png

Hi everyone,

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?

tmp.PNG

Did you ever find a solve for this? I am running into the same issue and have done similar troubleshooting steps as you up to this point. Would love to hear how you or others moved on from here.

0 votes
John Funk Community Leader May 24, 2020

Hi @Vinicius Correia  - Welcome to the Atlassian Community!

Did you find your problem with the permissions?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Apps & Integrations

🍂📹 Apptoberfest demo contest roundup: vote for your favorite demos!

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 ...

93 views 2 11
Read article

Community Events

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

Events near you