Performing additional processing after a transition is executed

JIRA allows you to perform additional tasks as part of a workflow transition through the use of post functions. JIRA makes heavy use of post functions internally, for example, in the case of an out-of-the-box workflow, the resolution field value is cleared automatically when you reopen an issue.

In this recipe, we will look at how to add post functions to a workflow transition. We will add a post function to automatically clear out the value stored in the Reason for Freezing custom field when we take it out of the Frozen status.

Getting ready

By default, JIRA comes with a post function that can change the values for standard issue fields, but since Reason for Freezing is a custom field, ...

Get JIRA 7 Administration Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.