How to create an Epic and Story and link them using Create on Transition
This article explains how to create an Epic issue and a story issue upon a transition and establish the link between them using the create issue post function of the Create on Transition app.
Instructions
- On any transition, click on add post function
- Add the Create Issue post function as shown below:
- Configure the post function as given below to create an Epic issue type:
- Add another Create Issue post function and configure the post function as given below to create a story issue type and add the Epic link:
The substitution variable org.swift.jira.cot.last_created_key stores the last issue key which was created. In this case, the last issue created is the EPIC issue type
More information on substitution variables can be found here: Substitution variables - 7. - Publish the workflow.
- Now, perform the transition and verify if the newly created story is linked to the newly created Epic using the EPIC link.
It is recommended to test this scenario in a non-production environment prior to implementing in production.