ūüöĬ†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.

On this page

Features used to implement the example

Example: Set "Due date" depending on the value of other fields, in case it's uninitialized

I'm trying to create a post-function with this logic:

  • The¬†basic version:
    If the field DUE DATE is null, then insert this value to the DUE DATE field: CreatedDate + 3 Days
  • The more¬†complicated version:
    If the field DUE DATE is null, and the PRIORITY = Major, then insert this value in the DUE DATE field: CreatedDate + 2 hours

You have to use post-function Set a field as a function of other fields of Jira Workflow Toolbox plugin with the following configuration:

Notice that:

  • {00012}¬†is the field code for numeric value of field¬†Due Date
  • {00009}¬†is the field code for numeric value of field¬†Date and time of creation
  • %{00017}¬†is the field code for string value of field¬†Priority

Value of parameter "Field to be checked for matching with type 1 setting rules" has no effect, since we are not using type 1 setting rules.

Setting rules are evaluated in order, and once a rule is matched, the rest of the rules are not processed. That's the reason we write in first place the most restrictive setting rule (Due Date = null and Priority = Major), and in second place the most general one.

Once configured, the transition will look like this:

Other examples of that function