🚀 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


Example: Restrict sub-task type creation depending on parent issue status conditions

We want to restrict sub-task type creation depending on parent issue status:

  1. If parent status is "Open" we only allow sub-tasks types "Sub-task_type_1", "Sub-task_type_2", and "Sub-task_type_3".
  2. If parent status is "Resolved" we only allow sub-tasks types "Sub-task_type_1", and "Sub-task_type_4".
  3. If parent status is different from "Resolved" and "Open" sub-task creation is not allowed.

We would use the following configuration of Boolean validator with math, date-time or text-string terms:


The boolean expression used: (%{00042} = “Open” AND (%{00014} = “Sub-tasks_type_1” OR %{00014} = “Sub-tasks_type_2” OR %{00014} = “Sub-tasks_type_3”)) OR (%{00042} = “Resolved” AND (%{00014} = “Sub-tasks_type_1” OR %{00014} = “Sub-tasks_type_4”))


Note that:

  • %{00042} is field code for "Parent's issue status"
  • %{00014} is field code for "Issue type"


Once configured, the transition will look like this:


Other variation of the usage example

Let us suppose that we replace restriction 3 with:

"If parent status is different from "Resolved" and "Open" any sub-task type is allowed."

In that case, the following configuration will do the task:


The boolean expression used: (%{00042} = “Open” AND (%{00014} = “Sub-tasks_type_1” OR %{00014} = “Sub-tasks_type_2” OR %{00014} = “Sub-tasks_type_3”)) OR (%{00042} = “Resolved” AND (%{00014} = “Sub-tasks_type_1” OR %{00014} = “Sub-tasks_type_4”)) OR (%{00042} != “Open” AND %{00042} != “Resolved”)


Note that:

  • %{00042} is field code for "Parent's issue status"
  • %{00014} is field code for "Issue type"


Once configured, the transition will look like this:



Other examples of that function

Related Usage Examples