Forums

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

Automation Trigger from previous step

kniep February 9, 2024

I am trying to use an automation rule to assign an asset to a custom field and make changes to it.

When using one rule I had the issue that the assignment of the object seems to have a certain delay, so if the step `edit object` did not 'see' the asset already. A comment to the issue did. My assumption is that that field is 'eventually consistent' and it just takes a while.

My idea to work around that is to have to automation rules:

1. the first assigns the asset object to the field within the ticket and transistions from OPEN->IN-PROGRESS

2. the second one is triggered when the first finishes and does the editing.

My problem is that a transistion trigger (->IN_PROGRESS) does not kick in when the automation sets the status - it does when I go back to OPEN and transition to IN_PROGRESS manually. Might be that bug: https://jira.atlassian.com/browse/AUTO-381

What other triggers am I able to use here? I tried to use 'Value Changes' but that does not kick in either.

 

 

2 answers

1 accepted

0 votes
Answer accepted
kniep February 9, 2024

I used two `re-fetch issue data` in between which seems to work. \o/

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 9, 2024

Hi @kniep 

Adding the Re-fetch Issue action may not solve the problem if you are doing this only to add a delay.  That action helps with trigger-timing issues and to reload data after edits (before other rule actions).

I recommend posting an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected.  Those will provide context for the community to offer ideas.  Thanks!

Kind regards,
Bill

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