Hello!
Please help me with the Jira Automation. I need to change a multi-user field so that role removes inactive users from it. Otherwise, it is a pain in the Data Center when there are inactive users in the field, then another rule cannot change the values of this field until inactive users are removed.
I have some test rule. And i going to be change it so removing only inactive users. How i can use IF? It will be something like that:
IF({{#issue.customfield_10053.name.active}} == false, remove ... {{/}})
As a result, the multi-user field will contain only active users.


Additonal fields text:
{ "update": { "customfield_10053" : [ {{#issue.customfield_10053.name}}{"remove": {"name":"{{.}}"}}{{^last}},{{/}}{{/}} ] } }