Is it possible to get the smart value for a cascading select field? I can get the value for the field but not the parent and child fields under it.
To get the value of the parent:
{{issue.fields.Cascade.value}}
And for the child:
{{issue.fields.Cascade.child.value}}
thanks! I got that to work! Here's my example:
{{issue.Plaza.value}} {{issue.Plaza.child.value}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good, I was just typing a reply.
But the first is indeed the parent value and the second the child.
So for future reference: below there is a Cascade1 field, where the first value is 'option2' and the child value is 'sub2.2'
And here is the smart values output:
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.
JSON for Automation rule : "Edit fields"
{
"fields": {
"customfield_22500" : {"value": "{{issue.fields.NameYourField.value}}", "child": {"value": "{{issue.NameYourField.child.value}}"} }
}
}
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.
Hey @Vũ Tuấn Anh _VF-IT-KVH_ ,
Are you sure the values you get by using of {{smart.values}} existing in the field you try to update?
You can use log action to print them and see what you are getting.
And I see that you are updating the same field which you use smart-values for.
With kind regards
Slava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.