Jira automation - when the Epic Status is marked as "Done", transition the epic

arama mihai
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.
January 27, 2022

hello,

We would like to set up an automation such as that if the field "Epic Status" of an epic gets set to Done, we perform a certain transition on the epic.

Unfortunately, the condition does not seem to match anything. I tried several options, including:

When: The following issue properties are set

{"fields":{"Epic Status":"Done"}}
Please let me know how to add a condition on the epic status change.
Thank you

2 answers

1 accepted

1 vote
Answer accepted
raju mandapaka January 27, 2022

Hi @arama mihai 

Can i know what's the trigger you kept??,

could you please try as below

image.png
Thanks,

Raju

arama mihai
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.
January 27, 2022

Hello @raju mandapaka  , @Jack Brickey 

I tried the following:

 

Screenshot_10.png

 

It says that the issue did not match the jql condition. I have marked the epic as done from the backlog of a scrum board. I believe the "issue matches jql" condition finds the epic status before the change, which is "To Do", and this is why it does not match.

 

Please let me know if you have any suggestions.

 

Thank you! 

raju mandapaka January 28, 2022

Hi @arama mihai 

Let's find out the Epic status by smart value, please insert a log action after first condition and keep {{Epic Status}} in that log action, so that we can know what' the status and i advice to keep trigger as filed value changed (Epic status) for only edit issue, so that we can reduce unnecessary logs.

image.png

Thanks

Raju

Like arama mihai likes this
arama mihai
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.
January 28, 2022

@raju mandapaka 

Thank you for your suggestion. 

For whatever reason, this automation now works without adding anything else. 

We did perform a full reindex today, so perhaps what has helped, considering since the rule hasn't changed since yesterday.

Thank you for your help!

Like raju mandapaka likes this
1 vote
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 27, 2022

Can you not use the JQL Condition?

E0E554B2-75D6-429F-8D93-9DD9F5EEEEE4.jpeg

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events