Post-functions

Post-functions are used to carry out additional processing after a transition is performed. 

Jira Misc Workflow Extensions makes the following Post-functions available to Jira administrators:

  • Assign to last role memberA workflow post-function that assigns the target issue(s) to the last user from the specified role that had the issue assigned before.
  • Assign to role memberA workflow post-function that assigns target issue(s) to a user from the specified role (works best if you have only one user in that role).
  • Build-your-own (scripted) Post-functionThis post-function allows you to run an arbitrary Nunjucks template (script). This can be used to create your own post-functions.
  • Clear fieldsA workflow post-function that clears the value of one or more fields of the current issue or issues related to the current issue.
  • Clear fields of linked issuesA workflow post-function that clears the value of the selected field(s) of the issues linked to the current issue through a specific link type.
  • Comment issue(s)A workflow post-function that creates a comment on the current issue or issues related to the current issue. The text of the comment to be created can be any simple text or a text with Nunjucks annotations.
  • Comment linked issuesA workflow post-function that creates a comment on all issues linked to the current issue through a selected link type. The text of the comment to be created can be any simple text or a text with Nunjucks annotations.
  • Copy comments to related issuesA workflow post-function that copies all comments, or just the latest comment, from the current issue to related issues (such as linked issues, Stories of an Epic, Epic of a Story, sub-tasks of an issue, issues returned by a Nunjucks Template or a JQL search, etc.)
  • Copy issue fieldsA workflow post function that allows you to copy the values of one or more fields from the current issue or related issue(s) or a set of filtered issues to the specified destination issue(s).
  • Copy field value from linked issuesA workflow post-function that sets the value(s) of a selected field to the value(s) from the same/different field of an issue linked to the current issue through a selected link type.
  • Copy field value from parent issueA workflow post-function that sets the value(s) of a selected field with value(s) from the same/different field of an issue's parent issue.
  • Copy field value to linked issuesA workflow post-function that copies the value(s) of a selected field into the same/different field of all issues linked to the current issue through a selected link type.
  • Copy field value to parent issueA workflow post-function that copies the value(s) of a selected field to the same/different field of the issue's parent issue.
  • Copy value from field to fieldA workflow post-function that copies the value(s) of a selected field to another field of the same issue. 
  • Create issue(s)A workflow post-function that creates one or more new issue(s). The specifications of the issue(s) to be created can be customized using the options provided.
  • Delete issueA workflow post-function that deletes one or more issues
  • Display Message to UserA workflow post-function that displays a message on the issue view page to the user triggering the transition. 
  • Email issueA post-function that sends a notification email about the current issue or issues related to the current issue.
  • Increase value of fieldA workflow post-function that increases the value of a selected numerical field by one.
  • Link issues to the current issueA post-function that will link the current issue to all issues that satisfy a parameterized JQL query.
  • Sequence of post-functionsA post-function that runs a sequence of JMWE post-functions on the current issue or issues related to the current issue. This is the easiest way of making sure that a series of post-functions run in a predictable order during a transition - it is easier and more reliable than using Delayed execution as was previously recommended.
  • Set entity property valueA workflow post-function that sets the value of an entity property of the current issue, current issue's project or current user. The value can be provided either as text (with optional Nunjucks annotations) or as a JSON value.
  • Set issue fieldsA workflow post-function that sets the value of a selected field of the current issue or issues related to the current issue. The value can be provided either as text (with optional Nunjucks annotations) or as a JSON value.
  • Set field value from User Entity Property valueA workflow post-function that sets the value of a selected field of the current issue to the value of a User Property of the current user.
  • Set field value of linked issuesA workflow post-function that sets the value(s) of a selected field of all issues linked to the current issue through a selected link type. The value can be provided either as text (with optional Nunjucks annotations) or as a JSON value.
  • Shared Action post-functionA post-function that runs an Action (a sequence of one or more JMWE post-functions), created in the Shared Actions page, on the current issue or issues related to the current issue.
  • Transition issue(s)A workflow post-function that triggers a transition on the current issue or issue related to the current issue. This can be used to move an issue one step further in the workflow.
  • Transition linked issuesA workflow post-function that triggers a transition on all issues linked to the current issue through a selected link type.
  • Transition parent issueA workflow post-function that triggers a transition on the parent issue of the current issue.
  • Unlink issues from the current issueA post-function that will unlink issues from the current issue based on the result of a Nunjucks condition.