Features used to implement the example



Example: Setting a field's default value depending on another field

Can the Jira Workflow Toolbox plugin set a default value based on the contents of a field? For example, I have a custom field called Billable which is a checkbox. I would like to set this field to 'selected' if the issue type is 'Change Request' and set this field to 'unselected' if the issue type is 'Defect'.

It's possible to do it easily using post-function Set a field as a function of other fields.

Let's suppose a field "Billable" of type "Select List" with two options "Yes" and "No". In this case you need to add to transition "Create Issue" a post-function Set a field as a function of other fields configured as shown n the following screenshot:


Text to be parsed is:

(New Feature)Yes

(.*)No


Once configured, post-functions configuration for transition "Create Issue" looks like this:




Other examples of that function

Related Usage Examples