Versions Compared

Key

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

This post function offers the flexibility to control its execution based on preconditions. By utilizing preconditions, you can determine whether the post function should be executed or skipped based on the evaluation of a Jira Expression. The precondition, defined in terms of a Jira Expression, should return a boolean value. If the result of the precondition is true, indicating that the specified condition is met, the "Copy Groups of User in Field" post function will be executed, ensuring the smooth and efficient copying of user groups. Conversely, if the precondition evaluates to false, the post function will be bypassed, allowing for conditional execution based on your specific criteria.

...

Note

If you need to refer to the user who made the transition, use currentUser in the Jira Expression. If you use “user” instead of it, it will always refer to the app user, so the results will not be as expected.