Link issues on transition - 4.x

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

  1. Know what kind of link type you are trying to create.
  2. Go to Administration -> Issue Linking configuration to see what link types are defined for your installation.
  3. Edit your post function and find the Link row.
  4. 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%.
  5. Specify the Name of the issue type you want to use. Do not use the outward or inward directional name.
  6. 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.