Date: Mon, 17 Jan 2022 16:50:45 +0100 (CET) Message-ID: <1822441904.1293.1642434645776@atlas-apps-decadis-net> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_1292_1047010039.1642434645771" ------=_Part_1292_1047010039.1642434645771 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Set a custom field "Urgency" depending on a combined v= alue of issue's priority and "Impact" custom field

=20
=20
=20
=20
=20

=20

=20
=20
=20
=20
=20
=20

=20
=20
=20
=20
=20
=20

Example: Set a custom field "= Urgency" depending on a combined value of issue's priority and "Impact" cus= tom field

Let's suppose we want to set a custom field called "Urgency" depending on issue "Priority" and the value of another custom field c= alled "Impact". We assoc= iate a numerical value to issue "Priority" and to custom f= ield "Impact". These two values may be applied to a mathem= atical function to calculate another numerical value that will represent th= e "Urgency" of the issue. In our case we simply have summe= d both values, but we could have used a much more complex formula. Once we = get the result of the sum, we revert the process, associating each possible= result of the sum to an options in custom field "Urgency"= .

1. Use post-function Set a field as a function of other fields to set on virtual fields "Ephemeral number 1" and "= Ephemeral number 2" with a numeric value associated to iss= ue "Priority" and the value of custom field "Impac= t".
2. Use post-function Mathematical and date-time expression calculat= or to calculate the sum of "Ephemeral number 1" and "Ephemeral number 2" and store the result on "= Ephemeral number 1".
3. Use post-function Set a field as a function of other fields to set custom field "Urgency" from the value of "Ephemeral number 1".

Using post-function Set a field as a function of other fields we associate a numerical value to each possible value of issue "Priority", and this value is stored in auxiliary field "Ephemeral number 1". Using post-function " Set a field as a function of other fields" we associate a numerical value to each possible value of custom field= "Impact", and this value is stored in auxiliary field "Ephemeral number 2". Using post-function " Mathematical and date-time expression calcu= lator" we store in "Ephemeral number 1" the r= esult of summing "Ephemeral number 1" and "Ephemer= al number 2". Note that:

• {00058} is code for numeric value of "Ephemera= l number 1"
• {00059} is code for numeric value of "Ephemera= l number 2"

Using post-function Set a field as a function of other fields custom field "Urgency" is set depending on the res= ult of the former sum, which is stored in "Ephemeral number 1". Once configured "Create Issue" transition looks like th= is: =20
=20
=20
=20 =20
=20
=20

=20

=20
=20
=20