🚀 JWT 3.0 is out 🚀 

The app was completely overhauled, and so was the documentation: Jira Workflow Toolbox (Server/Data Center) Home

The page you are viewing is still valid for all app versions prior to 3.0.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

On this page



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