Hi there,
I am writing automation recently. We have two custom fields, let's say Worker A and Worker B. And normally only one of the fields will be filled.
Now I want to use Automation to auto-assign tasks to either Worker A or Worker B (If Worker A is empty, then assign tasks to Worker B, vice versa). How should I write the smart value in Assignee in Automation? Does {{Worker A}}or{{Worker B}} work?
Hi,
The rule can be like this:
Trigger: Issue created
If
User Condition choose "Worker A" field from dropdown(if its of user type)
Issue filed condition: Assignee from the dropdown "is empty"
then: Assign issue to {{issue.customfield_1234}} // customfield_1234 being id of Worker A field
else
User Condition choose "Worker B" field from dropdown(if its of user type)
Issue filed condition: Assignee from the dropdown "is empty"
then: Assign issue to {{issue.customfield_4567}}
If your "Worker A" and "Worked B" fields are not of user type you can use "Advance compare condition" using the above smart value instead of "User condition".
Thanks
Sherry
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.