Create Epic on Transition and Set Epic Link at Same Time

Issue #913 new
Renee Crowley
created an issue

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: 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)

  1. Log in to comment