Page tree

Versions Compared

Key

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

Introduction

This post function allows you to execute any post function when a validator is met. The validator may come from transition validators or you can use any other validator available in JIRA.

It can be used for, e.g. for:

  • Updating an issue field if another field has been updated on the transition screen
  • Assigning an issue to a lead developer if the current user has some project permissionpermissions.

There is a similar post function that uses condition conditions instead of validatorvalidators. It can be very useful. Please check Condition Based Post Function..


Element summary
Status
Status
colourGreen
titleCurrent
Version compatibility6.0.1 - Latest
SupportedYes
Introduced in version1.0.0


Post function parameters

 Post function takes following parameters:

  • Validator - a validator to checkbe checked
  • Inverse validator - allows to run a post function when a validator is not met
  • Post function - a post function to be executed

Please note that validator validators and post function functions may require some extra parameters.

Example of

usage

use