I would like to compare the first value against the second value which is a custom field (single list).
The rule works fine if I give the list of options as second value. Something like the below one
First value : {{issue.customfield_12234.name}}
Condition : Contains regular expression
Second value : (option1|option2|option3)
But the list is slightly long, so I would like to use smart value in second value. Please see below:
First value : {{issue.customfield_12234.name}}
Condition : Contains
Second value : {{issue.customfield_12345.value}}
Is this possible?
Or how to find whether a value is present in the list (which is a custom field)or not?
Any help is greatly appreciated.
Thanks
Hi Vasumathi,
That should work correctly. Can you please surround your smart values with {{#debug}}.
{{#debug}}{{issue.customfield_12234.name}}{{/}}
and
{{#debug}}{{issue.customfield_12345.value}}{{/}}
then re-run the rule and send a screenshot of the values it prints to the audit log.
If this is private data please feel free to get in touch with us directly at support.
https://codebarrel.atlassian.net/servicedesk/customer/portal/1
Thanks,
Scott.
Hi Scott,
Thanks for your reply.
I have enclosed both the screenshots where the rule worked[1] and where the rule did not work[2].
[1] Here the second value is the list of options.
[2] Here the second value is also a smart value
{{issue.customfield_12345.value}}
Please let me know, if you need further details.
Thanks,
Vasumathi
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.