Forums

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

How to change automation job

Colin Bridgeman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 17, 2021

We have an automation job (in the legacy automation section) that changes the state of resolved tickets to closed after 3 days. Unfortunately the user who the job runs as has left and I'd like (ideally) to change the job so that it runs as an account that's not linked to an actual user.

When I click on the gear icon to update the 'Run rule as' value the drop down says:

This option cannot be selected because one of your WHEN statements cannot be run as the user who triggered this rule.

Is there a way to update this value in the legacy rule (as at some point we're going to need to remove the user who's left) or do I need to implement this as a 'normal' automation rule?

 

2 answers

1 vote
Vishwas
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.
December 17, 2021

Hi @Colin Bridgeman 

In legacy automation there are only 2 options in "Run rule as" drop down. 1. Project default -- which takes from project lead value. 2. Run as user triggered.

Which option is selected in your case?, give a try by changing the project lead value.

I would recommend to move over to normal automation rule which offers flexibility of actor option. Ideally "Automation for Jira" user can be given as actor or users from user management.

afj.png

0 votes
John Funk
Community Champion
December 17, 2021

Hi Colin - Welcome to the Atlassian Community!

I guess one option is to give the new person the same permissions as the one who is leaving and then switch it to them. 

Otherwise, you will need to implement it as a new automation rule and let Automation for Jira be the actor. 

Suggest an answer

Log in or Sign up to answer