Hi,
I'm looking for an automation that will cause all child issue of an epic to inherit a particular label from the epic where that label is present.
By way of fuller explanation, I have some epics that include the label 'Essential_For_Go_Live' and I'd like all the children of those epics to inherit that label but not any other labels that might be present on the epic.
This doesn't have to be real-time and, to retrospectively apply to existing issues, I was thinking of a scheduled automation to run daily.
Any thoughts?
Hi Adam,
From your description, I'd say you could do a scheduled rule that looks up all Epics. Basically, a JQL search like:
issuetype = Epic AND resolution = Unresolved
(the last bit just so we don't waste time on resolved Epics ☺️)
Then, in the rule itself we'd first do an:
- IF labels contains <your_important_label>
then:
- Branch rule: For issues in Epic, edit issue, add <your_important_label> to labels
... and I think that should do it!
---
I'll have to admit I haven't tested this, but the logic should be sane 😎
Let me know how you fare, we may need to adjust a bit!
Br,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.