Versions Compared

Key

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

A workflow post-function that deletes the current issue and its subtasks if any. 

To add 'Delete issue' post-function to a transition : 

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

  2. In the Workflow Designer, select the transition.

  3. Click on Post Functions in the properties panel.

  4. Click on Add post function.

  5. Select Delete issue from the list of post-functions.

  6. Click on Add to add the post-function to the transition.

Image Removed
  1. Image Added
  2. Click on Add to add the post-function to the transition.

Here are a few Use cases for this post-function.

Known issues common to all post-functions:

Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
sorttitle
showSpacefalse
typepage
labelskb-troubleshooting-article
cqllabel = "common-issue" and type = "page" and space = "JMWEC"

Troubleshooting this post-function configuration: In case the post-function does not work as expected these are the things to look out for

Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
sorttitle
showSpacefalse
typepage
cqllabel
=
in ( "
common-issue"
placing-postfunctions" , "troubleshooting" ) and type = "page" and space = "JMWEC"
labelskb-troubleshooting-article




When you add this post-function to a transition and trigger the transition, the add-on deletes the current issue and its subtasks, if any.

Run As

  • Run as current user

The current user will be the user that deletes the new issue.

  • Run as add-on user

The add-on user will be the user that deletes the new issue.

  • Run as this user

Any user selected in this field will be the user that deletes the new issue.


Conditional execution

To execute this post-function based on the result of a Nunjucks template see Conditional execution.

Delayed execution

To delay the execution of this post-function see Delayed execution