Date: Fri, 29 Mar 2024 13:28:28 +0100 (CET) Message-ID: <1354504920.568.1711715308906@apps-confluence-5.apps-confluence.apps.svc.cluster.local> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_567_1621419990.1711715308902" ------=_Part_567_1621419990.1711715308902 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Virtual field "New watchers": writing into this fie= ld a comma separated list of user names, group names or project roles names, wi= ll add new watchers to the issue.
Virtual field "Security level": used to check the c= urrent Security level of current issue.
We want to add one or more watchers to current issue depending on its Security Level.
Let's suppose we have want to implement the following behavior:
If security level is "Internal" then add user "
If security level is "Executive" then add users "ada.lovelace" and "charles.babbage" as watc=
hers.
If security level is "Manager" then add user "
If security level is "Classified" then add user "alan.turing", and all users in project role "Classif=
ied Observers" as watchers.
We will add post-function Set a field as a function of other fields<= /strong> to transition "Create Issue" with the follow= ing configuration:
Setting rules used in this example are:
(Internal)konrad.zuse
(Executive)ada.lovelace
(Manager)john.neumann
(Classified)alan.turing, =
Classified Observers
Once configured, transition "Create Issue" will look li= ke this: