Hi folks - I have a project with 3 issue types (Theme, Initiative, and Sub-initiative) that we use for Advanced Roadmapping. Sub-initiatives are implemented via Epics in various other projects, with the Epics linked to the Sub-initiative via the Child-of link type. I want to
I found examples of doing these things based on Epics and Sub-tasks, but not linked 'child' issues. Is this do-able?
Hi @dave_drexler - This is totally doable. You're looking at a few automation rules:
Transition a Sub-initiative when any of its 'child' Epics are added to a sprint.
Key = {{issue.Parent Link}} AND status != X
Key = {{issue.Parent Link}}
Transition a Sub-initiative when any of its 'child' Epics are transitioned.
This one will be similar to above with exception of the trigger
Key = {{issue.Parent Link}} AND status != X
Key = {{issue.Parent Link}}
Transition a Sub-initiative when ALL of its 'child' Epics are transitioned.
This one is a little different
"Parent Link" = {{issue.Parent Link}} AND status != X
Key = {{issue.Parent Link}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, and...to Mark's answer:
Please consider your edge cases/exceptions to decide what you want to happen, and to confirm the rules can either handle them and/or have no side effects.
For example, you want to transition a "sub-initiative" when its first, child epic is assigned to a sprint. What happens when assignment was done in error, or the sprint field is later cleared?
Some cases might be addressed by improving your scenarios (e.g., only transition after the sprint starts versus on assignment), while others may potentially need some form of cleanup.
Kind regards,
Bill
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.
@Mark Segall - wondering if I can prevail on you for more advice. I tried the 'middle' automation, above, first, but it's not firing. There's no indication in the audit log that it ran even though my colleagues tested it with the correct conditions. (I confirmed their test conditions.) Can you spot what I'm doing wrong? Here's how I set it up:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When one rule performs actions that could trigger another, the next / downstream rule needs to enable the option in the details for "Allow rule trigger". This is disabled by default to prevent accidental rule looping/firing.
Kind regards,
Bill
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.
Hi @Mark Segall and @Bill Sheboy - sorry for being such an automation dope, but this seemingly simple rule is still not running, though I think I'm getting closer.
Here's what I have:
As you can see, my test child issue (PLATFORM-2084) passes the conditions, but then there are 'No Actions Performed' on the parent issue. I've simplified the rule from what @Mark Segall originally suggested; I read somewhere that {issue.parent link} was being deprecated and replaced with the Parent condition, so I tried that.
Any clues appreciated; sorry again for not having one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dave - I see two issues
1. Your second condition is based upon Parent which is only applicable to Sub-Tasks. Instead you'll want to replace it with this:
key = {{issue.Parent Link}} and status = "Approved for Development"
2. Your branch is also based upon parent which again is only applicable to Sub-Tasks. Instead you'll want this:
key = {{issue.Parent Link}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, @Mark Segall ! That worked a treat. That's what you originally laid out, but I drifted away from it as I stumbled about. Anyway - thank you for the answer and your patience. Now I'm on to the other two rules.
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.