How to link issues on transition
Summary
Both Create on Transition for Jira and Update on Transition for Jira have post functions that allow the issue being created or updated to be linked to some other issue. This describes how that works and common pitfalls to avoid.
Steps
- Know what kind of link type you are trying to create.
- Go to Administration -> Issue Linking configuration to see what link types are defined for your installation.
- Edit your post function and find the Link row.
- Specify the issue key you want the current entry to be linked to in the issue key field. Substitution variables can be used. Example: %parent_issue%.
- Specify the Name of the issue type you want to use. Do not use the outward or inward directional name.
- Specify the link direction via radio button selection.
When specified correctly, the current entry being processed will be linked to the issue key specified with link type and direction as specified.
Not working?
If it doesn't appear to be working as expected, double check your configuration and look in the JIRA server log for errors trying to link the issues. If still not successful, see How to get problem determination information.