I have been struggling to get my automation to work properly.
My goal is to append to a customfield - Approvers based on the values selected on a cascading customfield.
Attached are pictures of my automation and the audit log. Even when I Log the values of the parent and child values, which show, the If block seems to still not pass the logic. I've tried with {{issue.customfield_xxxxx.parent.value}} and {{issue.customfield_xxxxx.parent.id}}.
Hi @Jh
The log shows the condition was not met as an incorrect smart value was used...to access the parent of the cascade field, just use value:
{{issue.customfield10243.value}}
The child reference you use is correct:
{{issue.customfield10243.child.value}}
I recommend using this how-to article as it may help to review the structure / smart values of an issue to understand how rules access them: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
Kind regards,
Bill
Oh man, I can't believe it was so simple! I removed the ".parent.value" and just used .value for the parent option and it works. Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.