How do I write an automation rule to prevent using epics in done status?

Ann Rumenapp April 18, 2024

I started the rule but can't get the trigger issue parent field to be set to empty (last then statement).

AutomationRulePreventUsingDoneEpic.jpg

2 answers

1 accepted

0 votes
Answer accepted
Kalyan Sattaluri
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.
April 18, 2024

Hello @Ann Rumenapp 

You dont need a branch.

After your trigger, do a series of If/Else to check parent status..

Your steps will be:

  • Trigger
  • If/Else Condition -> "At Least one condition matches" => add condition => smart value check
    • {{issue.parent.status.name}}
    • equals
    • Done
  • OR Condition -> "At Least one condition matches" => add condition => smart value check
    • {{issue.parent.status.name}}
    • equals
    • Cancelled
  • Edit Issue -> Clear value.

Please try and share rule / audit log if issues.

 

Ann Rumenapp April 18, 2024

This instruction worked perfectly.  Although being new to automation rules it took me a bit to get the clear value entered correctly.

 

 

Like Kalyan Sattaluri likes this
1 vote
Ann Rumenapp April 18, 2024

Here is the automation rule: 

Step 1_Rule 1.jpgStep 2_If Block.jpgStep 3_SetFieldCondition.jpg

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events