When you add this post-function to a transition, the add-on simply executes the provided Groovy script against the current issue. This post-function can be used in scenarios where you might want to use and do something (Email issue information, Download like Copying attachments of the issue etc.) with current issue to its linked issues) using the issue information, other than modifying the issue.You can test your script against any issue using the script tester and debug your script and make changes without having to actually trigger the transition and/or look at the JIRA logs to see the result of the script. See:
- Groovy editor in JMWE to write your Groovy script
- Groovy tester to test your written your Groovy script
- Expected Groovy expression input for each field
- issue, currentValue, currentUser and log variables you can use in your Groovy script
- Accessing the fields of an issue to use them in your Groovy script