Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

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

on
  1. .

  2. In the Workflow Designer, select the transition.

Click on 
  1. Click Post

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

  2. Click

on Add 
  1.  Add post function.

  2. Select Unlink issues from the current

issue from
  1. issue from the list of post

-
  1. functions.

Click on Add to add the
  1. Click Add. The Unlink issues from the current issue post-function

on the transition.Image RemovedAdd a Nunjucks condition in the Condition
  1. screen will open, where you can configure the post function as needed. See below for more details on specific configurations.

  2. Click

on 
  1. Add

 to
  1. to complete the configuration and add the post-function

to the transition.

Known limitations common to all post-functions:

Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sorttitle
typepage
cqllabel = "common-issue" and type = "page" and space = "JMWEC"
labelskb-troubleshooting-article
Panel
titleRelated links
For information on where
  1. .

After adding, move the post-function

needs to be placed on a transition, see 

to the appropriate position according to Placing post-functions in a transition

.

Refer to the Use cases for the post-functions page for use cases for this post-function.

Refer the Troubleshooting and Support page if the post-functions does not seem to be working as you would expect

 document.

Info

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. 

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.

Condition 

Input a condition in Condition
Customize this post-function using the additional options provided as part of the post-function. The options are:Run as this user: Any user selected in this field will be the author of the removal of issue links.

Advanced options

Run As

Include Page
  • Run as current user: The current user will be the author of the removal of issue links.

  • Run as add-on user: The add-on user will be the author of the removal of issue links.

[Includes] Post-function - Run As
[Includes] Post-function - Run As

Delayed execution

Include Page
[Includes] Delayed
execution
Execution
Delayed execution
[Includes] Delayed Execution

You are viewing the documentation for Jira Cloud.

On this page

Table of Contents
minLevel1
maxLevel3
outlinefalse
styledefault
typelist
printabletrue
Unlink Issues configuration screenImage Added