I am comparing the text I'm extracting from a comment, which is an email and it has been confirmed by loggging the extracted text in a comment with an email address in a custom field.
However the condition is failing. I have this at the moment:
I added .value after the custom field but still nothing.
I also tried comparing their length with {{issue.comments.last.body.substringBefore("\n").length}} verus the custom field's email length with {{triggerIssue.fields.customfield_10076.length}} or {{triggerIssue.fields.customfield_10076.vaue.length}} but the resulting value, from a comment log is null.
Any help please? Which can be on how I get the email in the custom field length or to get the Advanced compare condition to work?
Thanks
Hi,
Just to test that both expressions return exactly what you think they do, create following Automation rule:
Then Edit an issue where both fields are present, check whether the rule ran without errors (in the rule Audit log). Then check the comments on the issue. Both values should now be there in a comment. Are both values what you expect?
Regards,
Jeroen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.