Automation Condition passing even if not true

Niklas Zarnecke
Contributor
February 12, 2025

Hey,

I'm currently stuck on a problem with one of our automtions in Jira. Here is the entry in the audit log:

auditlog.png

When I'm looking in the history of the Story, I can see that the Story is in the status "ON STG" since the 26th of Novemeber 2024:

history.png

So in my logic there shouldn't be any execusion of the rule, why does it try to move the Story any way?

Here is my config of the automation:

automation.png

Thank you!
Niklas

3 answers

1 vote
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 12, 2025

Hi,

you're using the parent branch so it seems that the trigger issue is a subtask of the story .

basically your rule is, when an issue is transitioned and it has a parent then make a transition in the parent.

Dick
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 12, 2025

@Niklas Zarnecke :

  • Your consecutive conditions always prohibit execution of the last condition. An if-block can help you out in this situation.
  • best verify the issuetype of the triggerissue first, to avoid doing stuff on stories and epics (also a child parent situation).

Kind regards,

Dick

0 votes
Duc Thang TRAN
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 12, 2025

Hello @Niklas Zarnecke 

Your requirements still need more details. However, after analyzing your screenshot, there might be some inconsistencies.

Which type of tickets are you targeting? Sub-task, standard task, or epic?

0 votes
Vishal Biyani
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 12, 2025

@Niklas Zarnecke 

Before branching into parent, can you try copying the trigger Issue values in smart variable. Then use those values to compare with parent status.

See if this helps resolve your issue.

 

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