Hey,
the trickiest automation I've seen till now ...
Could help?
- There is UberEpic issuetype which has linked Epics.
- Epics get fixVersions for quarters: DUN YYYY QX eg. "DUN 2024 Q1", "DUN 2024 Q2"
- Epics can have different fixVersions
I'm trying to fulfill this conditions:
If all linked Epics has the fixVersion for quarter set, add latest for UberEpic.
If any of the Epic has missing fixVersion for quarter, remove quarter from UberEpic.
I got to situation where automation can
1. find find UberEpic
2. check if all linked Epics have fixVersion with pattern using 'related issue condition' with JQL: issueFunction in linkedIssuesOf('{{issue.key}} and issueLinkType = "Is a Parent of" ') AND issuetype = Epic
tricky part:
3. find latest quarter from all fixVersions in linked Epics?
could I use 'Create Variable' with some magic in it?
that's my current state of rule:
