You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Looking to see if anyone has successfully been able to automate the adding of Epics to an Initiative level issue during workflow updates using ScriptRunner's 'create Subtask' post function.
Within the post function, ScriptRunner does allow for me to pick Epic as the subtask issue type...but when I apply this to the workflow, it ends up erroring out.
Initiative has been added to the hierarchy using Portfolio and the Parent Link field has been added to the Epic screens, but for some reason it will not create the Epic on the workflow transition.
Has anyone been able to figure this one out?
Hi @Lara Arthur
I would recommend using the built in Automation for Jira instead of Scriptrunner for this.
But regardless of automation tool, Epic cannot be selected as a sub-task issue type, because it isn't one.
High level guess of what the automation might look like below. Where customfield_10009 = Parent link and SAFe Epic is the equivalent of Initiative
Disclaimer, I may not have that additional fields section setup quite right, but can't test it currently either...Sorry!!
Hopefully this can get you started/close?
I'll give it a try....I must say I've been staying away from it since I'm so used to using ScriptRunner for server. But being in the cloud now limits the use of it.
I do understand that an Epic is not a 'subtask' but there is a post function available in ScriptRunner that seems to allow you to set up that hierarchy.