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
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.