I'm trying to set up an automation that moves a parent epic into In Progress once the first child issue/feature gets moved into In Progress.
The confusing thing is we use the Epic issue type for both Features and Epics. We have them linked in Jira so that Epics are parents of Features, and we delineate the two by using "[FEATURE]" in the summary when it's a feature, and using using "[EPIC]" in the summary when it's an epic.
This is the automation I have currently:
This current automation isn't working. Where did I go wrong?
Hello @Jamie Kent
Welcome to the Atlassian community.
Are you working with Jira Cloud or Jira Data Center.
"For Parent" will work only if the issues are truly linked as parent and child adhering to the issue type hierarchy. Per issue type hierarchy and issue 's parent must be of an issue type in the hierarchy level directly above the current issue's type.
With the native issue type being
Level 1: Epics
|-- Level 0: standard issue types; I.e. Story, Task, Bug, etc.
|-- Level -1: sub-task issue types
If your [FEATURE] and [EPIC] items are both the Epic issue type then they are at the same level and one can't be the Parent of the other.
I am assuming that you must be using generic issue linking to artificially create a pseudo parent/child relationship.
@Lalithesh Channu 's answer under the "If linked work item" heading is close to the solution.
The part it is missing is that you said you want the Epic to transition when the first Feature is transitioned to In Progress. The rule provided will try to transition the "parent" Epic to In Progress for every "child" Feature that transitions to In Progress.
How important to you is it for the Epic to transition only when it is the first Feature to transition to In Progress?
Other things to consider:
- What if the first Feature to transition to In Progress is removed from the Epic before another is transitioned?
- What if no Features "under" the Epic are transitioned to In Progress but another Feature that is already In Progress is moved under the Epic?
- What if the only In Progress "child" Feature is reverted to an earlier status? Should the "parent" Epic's status change?
Hi @Jamie Kent
Hope you're doing well!
Since both of them are Epic issue types, could you confirm whether they're linked as parent and child, or simply as linked work items?
If Parent and child
If linked work item
Note: A transition must be available between the current status and 'In progress'
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jamie
You are so close :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jamie Kent (tagging you so you don't miss the reply) :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.