Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation Actor = Automation for Jira is failing

Jill Vieregge
Contributor
October 5, 2023

This week in our automation, where the Actor = "Automation for Jira" is failing with this in the logs.

Screenshot 2023-10-05 at 11.06.06 AM.png

Never had an issue with this before.

2 answers

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 5, 2023

Hi @Jill Vieregge 

Have any Site Admin or Org Admin users changed the permissions for that user?

Have any Project Admin users changed access for the project, removing / altering permissions?

Kind regards,
Bill

Jill Vieregge
Contributor
October 5, 2023

Hi there.

As far as I can tell, "Automation for Jira" is a default rule actor. 

I don't think it would be affected by anything done to regular user permission schemes. I can't see it in the list of Users to check what group its in. You don't need to assign it any permissions in a project. But it has stopped being authenticated in some of our automation.

Snippet from https://support.atlassian.com/cloud-automation/docs/what-is-a-rule-actor/

Screenshot 2023-10-05 at 7.53.55 PM.png

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 6, 2023

Would you please post images of your complete automation rule and of the audit log details showing the rule execution that failed?  Those may provide some context as it is possible that error is not focusing on the actual cause.

Jill Vieregge
Contributor
October 6, 2023

Case were it didn't work:Screenshot 2023-10-06 at 3.16.21 PM.pngScreenshot 2023-10-06 at 3.15.06 PM.pngScreenshot 2023-10-06 at 3.15.31 PM.png

Jill Vieregge
Contributor
October 6, 2023

Case when it does work (change Agent to me):

Screenshot 2023-10-06 at 3.17.47 PM.pngScreenshot 2023-10-06 at 3.18.12 PM.png

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 6, 2023

Please review the workflow for that issue type and look for any rules on the transition to Done which restrict which users can do so.

I suspect there is a restriction on your workflow to limit which users can move the issue to Done.  And, I do not believe the Automation for Jira user can be added to that transition rule.  (Or at least I was unable to do so when I just tried it.)

Jill Vieregge
Contributor
October 6, 2023

To Done is a global transition . . . Screenshot 2023-10-06 at 4.16.59 PM.png

Jill Vieregge
Contributor
October 6, 2023

I thought maybe I was missing a group in the transition permission in the scheme; but here's what I have.Screenshot 2023-10-06 at 4.48.38 PM.png

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 6, 2023

Hmm...That was my last idea of what could cause this...

As you are the site admin for a paid license (Jira Premium) I suggest next submitting a ticket to Atlassian Support here: https://support.atlassian.com/contact/#/

They may notice something we are missing in the rule / site configuration.  When you hear back from them, please post what you learn to benefit the community.

0 votes
Jill Vieregge
Contributor
October 10, 2023

Answer from Atlassian - they revalidated that my permissions and automation rule were properly configured, so they suspected it was an index problem.

The re-Index of permissions related to the "atlassian-addons-project-access" project role is done on a daily basis automatically, however, there are scenarios where they are not executed properly and can cause an updated permission to be corrupted or outdated.

There are an undefined number of reasons this may happen in Jira, however, this problem usually happens because of double-entries in the project roles's database table, caused by a failed import or even project role creation. In those scenarios, we must enforce the re-index from our side.

After re-indexing, the automation worked.

Suggest an answer

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

Atlassian Community Events