Unlink issues from the current issue

A post-function that will unlink issues from the current issue based on the result of a Nunjucks condition.

When you add this post-function to a transition and trigger it, the add-on checks the specified condition against each linked issue of the current issue. If the condition evaluates to any text except false or an empty string, it will remove the issue link. If not, it will not remove the link.

To add 'Unlink issues from the current issue' post-function to a transition: 

  1. Click Edit for the workflow that has the transition to which you wish to add the post-function.

  2. In the Workflow Designer, select the transition.

  3. Click Post Functions in the properties panel (or select the Post Functions tab).

  4. Click Add post function.

  5. Select Unlink issues from the current issue from the list of post functions.

  6. Click Add. The Unlink issues from the current issue post-function screen will open, where you can configure the post function as needed. See below for more details on specific configurations.

  7. Click Add to complete the configuration and add the post-function.

After adding, move the post-function to the appropriate position according to Placing post-functions in a transition document.

JMWE shows an error message on the issue view if any error occurs during the execution of the post-function. This message is displayed only if the current user is a Jira administrator. 

Issues to unlink

Advanced options

Run As

Delayed execution

You are viewing the documentation for Jira Cloud.

Unlink Issues configuration screen
Figure 1 - Unlink issues

Â