Scenario
Div |
---|
|
Image Removed Image Added Estimated Time: 9 min |
You have a new Create Issue post function in place and each time the workflow transition takes place, you would like the newly created issue to be linked back to the issue that was being transitioned.
Background
This scenario uses an example ePub workflow that helps teams coordinate the publication of electronic books. We have a Create Issue post function that processes when users transition issues from the "Open" to "In Draft" steps. For each instance of this transition, we automatically create a new issue linking it back to the parent issue.
Steps
The following steps demonstrate how to configure Create on Transition, applying the proper linkage between issues:
Table plus |
---|
border | 0 |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
columnAttributes | style="border:0;width=5%;",style="border:0;width=65%;",style="border:0;width=30%;max-width=30% !important;" |
---|
id | steps_table |
---|
enableSorting | false |
---|
enableHighlighting | false |
---|
|
| Step 1As a Jira Administrator or Workflow Administrator: - Navigate to your workflow (ePub in this case).
- Edit your ePub workflow to create a draft version.
- Navigate to the Post Functions tab.
- Click the Edit icon of the respective post function you want to edit.
| |
| | Step 2ISSUE FIELDS: - Select the Links tab.
- Select the following from the respective list of available options:
- Create Link - "Original issue key"
- Create link type - "Create on Transition"
- Create link direction - "New issue to issue key"
- Click the Update button to save your changes.
| |
| Image RemovedImage Added | Step 3Publish and validate your changes. - Remember to publish your workflow. We always recommend saving a backup
of the previous workflow when prompted. - Create an issue and transition the issue to trigger your post function.
- Validate that the new issue was created and that it contains a link back to
the originating issue.
| |
|
...