Automation to check assignee does not seem to be executing in order

Greg Jas
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!
February 26, 2025

I have an automation that assigns a ticket to an agent based on customer organization. I added in a check after the agent is assigned against a group of users on vacation. This check doesnt work as expected and returns the users doesnt fit the criteria in the audit log even though the user assigned in the previous step is in the group. Below is a picture of this section of the automation. Is there something I'm doing wrong? Is the check too fast after the assign that it doesnt see the new user?

I've also tried using a 2nd automation triggered by a change in the Assignee field but it does not reliably trigger.
Screenshot 2025-02-26 113523.png

 

Basically this would then loop back into another automation to assign the ticket to a group of users until the assignee is not in this vacation group 

2 answers

0 votes
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.
February 26, 2025

Hi @Greg Jas -- Welcome to the Atlassian Community!

The steps in a rule use the current state / data in the issue which the rule holds.  And when an edit happens (e.g., Edit Issue) that updates the data in the cloud but not the rule's storage.  This is by design to help with conditions, etc.

When you want the rule to use the updated information, add the Re-fetch Issue action after the change, such as after your Edit Issue action and before the condition:

https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Re-fetch-issue-data

That will reload the data before the rule proceeds.

Please use this action only when necessary as it will add about a second of time to the rule execution.

Kind regards,
Bill

0 votes
Mike Maurer
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.
February 26, 2025

Hi @Greg Jas ,

do you have a Premium plan? If yes, you could try to set a delay for the executions:

https://community.atlassian.com/t5/Jira-Service-Management-articles/Automation-delay-action-new-3rd-party-connector-updates-are-now/ba-p/2756730#M4836

 

Kind regards

Mike

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events