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.:
- 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 permissions.
There is a similar post function that uses conditions instead of validators. It can be very useful. Please check Condition Based Post Function.
Element summary | |
---|---|
Status | CURRENT |
Version compatibility | 6.0.1 - Latest |
Supported | Yes |
Introduced in version | 1.0.0 |
Post function parameters
Post function takes following parameters:
- Validator - a validator to be 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 validators and post functions may require some extra parameters.