Unsure why this function won't print test. As its identified as an empty comment when trying to use Jira Automation - Comment on Issue.
{{#lookupIssues}}{{#if(labels.contains("Unplanned_Downtime"))}} test{{/}}{{/lookupIssues}}
Hi @Edwin Andrew
Short answer: the labels smart value is a list of values, and there is no contains() function for lists or text. Please try using the match() function with a regular expression.
If that does not help, context is important for the community to help. Please post the following:
Kind regards,Bill
It looks like you're new here. Sign in or register to get started.