Date: Thu, 28 Mar 2024 12:16:49 +0100 (CET) Message-ID: <37904096.322.1711624609616@apps-confluence-5.apps-confluence.apps.svc.cluster.local> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_321_985780468.1711624609616" ------=_Part_321_985780468.1711624609616 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
We want to restrict sub-task type creation depending on parent issue sta= tus:
We would use the following configuration of Boolean validator with math, date-time or text-string terms:
The boolean expression used: (%{00042} =3D =E2=80=9COpen=
=E2=80=9D AND (%{00014} =3D =E2=80=9CSub-tasks_type_1=E2=80=9D OR %{00014} =
=3D =E2=80=9CSub-tasks_type_2=E2=80=9D OR %{00014} =3D =E2=80=9CSub-tasks_t=
ype_3=E2=80=9D)) OR (%{00042} =3D =E2=80=9CResolved=E2=80=9D AND (%{00014} =
=3D =E2=80=9CSub-tasks_type_1=E2=80=9D OR %{00014} =3D =E2=80=9CSub-tasks_t=
ype_4=E2=80=9D))
Note that:
Once configured, the transition will look like this:
Let us suppose that we replace restriction 3 with:
"If parent status is different from "Resolved" and "
In that case, the following configuration will do the task:
The boolean expression used: (%{00042} =3D =E2=80=9COpen=E2=80=9D AND (%{00014} =3D =E2=80=9CSub-t=
asks_type_1=E2=80=9D OR %{00014} =3D =E2=80=9CSub-tasks_type_2=E2=80=9D OR =
%{00014} =3D =E2=80=9CSub-tasks_type_3=E2=80=9D)) OR (%{00042} =3D =E2=80=
=9CResolved=E2=80=9D AND (%{00014} =3D =E2=80=9CSub-tasks_type_1=E2=80=9D O=
R %{00014} =3D =E2=80=9CSub-tasks_type_4=E2=80=9D)) OR (%{00042} !=3D =E2=
=80=9COpen=E2=80=9D AND %{00042} !=3D =E2=80=9CResolved=E2=80=9D)<=
/span>
Note that:
Once configured, the transition will look like this: