Our new Appfire Documentation Space is now live!

Take a look here! If you have any questions please email support@appfire.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »


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.
  7. Click on Add to add the post-function to the transition.
Related links

For information on where the post-function needs to be placed on a transition, see 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.

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.


Delete issue

This post-function can be used to delete an issue.

Sample use cases:

  • (lightbulb) Automatically move the issue to a project when it is approved.

     Steps

    Since there is no REST API to move issues between projects the workaround is to clone the issue into the desired project and delete the current issue.

    Clone issue

    • Add the Create issue post-function to the Approve transition of the issue's workflow.
    • Fill in mandate/all fields of the new issue in "Set fields of new issue" section
    • Save the post-function.

    Delete issue

    • Add the Delete issue post-function to the Approve transition of the issue's workflow.

    • Add a delay of a few seconds to the post-function
    • Save the post-function and publish the workflow
  • No labels