Create Epic on Transition and Set Epic Link at Same Time
I've designed a workflow for Stories to represent a project's life cycle. On the transition that marks the project's kick-off, I need to accomplish 3 things: 1) Create an Epic 2) Create a series of pre-defined Tasks 3) Set the "Epic Link" on the new Tasks and on the original Story to reference the new Epic
I've gotten each piece working individually on separate transitions, but I cannot seem to create the epic and then set the Epic Link field on the same transition; I get the following error: java.lang.String cannot be cast to com.atlassian.jira.issue.Issue
As soon as I separate them to different transitions, it works.
I've seen you mention a custom link type of "is father of / is children of" here: https://bitbucket.org/fcarmario/jira-workflow-toolbox/issues/617/how-do-i-get-epics-to-automatically-link If I created that link type, could I set that during my post function that creates the Epic? Any other suggestions for me to get this to work?
Many thanks.
Comments (2)
-
repo owner -
Account Deactivated reporter Epic Creation
Task Creation
- Log in to comment
Hi @renee_crowley,
Can you, please, attach screenshots of the post-function's tab of the transition where you create the Epic and the tasks?