Hi community,
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.
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.