Forums

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

Match status from child Epic to Parent Feature project

Yuliia Vyborova
Contributor
July 28, 2023

Hello! I need to set automation to match status of child Epic in one project (TXL) to its parent (custom issue type called Feature project) in a different project (ETE). I added Branch step to my automation but it doesn't work.

Screenshot 2023-07-28 at 6.26.07 PM.png

3 answers

2 votes
Dave Mathijs
Community Champion
July 28, 2023

Hi @Yuliia Vyborova 

Have you checked the automation rule's audit log for errors or conditions that are not met?

1 vote
Ste Wright
Community Champion
July 28, 2023

Hi @Yuliia Vyborova 

I assume Feature is above the Epic, utilising the Issue Type Hierarchy settings?

If yes, the Branch type "Parent" won't work, as this is only for the relationship between a Sub-task and its parent issue.

---

You'll need an alternative approach - such as this rule...

  • Trigger: Issue Transitioned
    • To Status = In Progress
  • Condition: JQL Condition
    • JQL = project in (ABC, DEF) AND issuetype = Epic and "Parent Link" is not EMPTY
  • Action: Create Variable
    • Name = ParentLink
    • Value = {{issue.Parent Link.data.key}}
  • Branch: Related Issues
    • Type = JQL
    • JQL = issuetype = Feature and issuekey = {{ParentLink}}
      • Uncheck the box "Only includes issues that have changed since the last time this rule executed"
  • Branch-Action: Transition Issue
    • Destination Status = In Progress

---

A few notes on this rule:

  • This works if the parent level is one above Epic (which I assumed it is)
  • The variable creates a custom smart value. To learn more about smart values, see these help pages
  • This variable can then be used dynamically in the Branch's JQL - which should only find one issue at a time per Epic

---

Let us know if this works for you!

Ste

Yuliia Vyborova
Contributor
July 29, 2023

Thanks Ste! Will try

Like Ste Wright likes this
Ste Wright
Community Champion
July 29, 2023

Let us know how it goes :)

Ste

0 votes
Yuliia Vyborova
Contributor
July 28, 2023

Hi Dave, log shows No actions performed when I updated Epic. So is Parent the correct Branch rule?Screenshot 2023-07-28 at 7.55.30 PM.png

Screenshot 2023-07-28 at 7.54.42 PM.png

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