Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×Hello!
Can anyone explain why, when I tried to use the following construction
{{#lookupIssues}}
{{#issuelinks}}
{{#outwardIssue}}
{{#if(equals(status.name, “Done”))}}
{{key}}
{{/}}
{{/}}
{{/}}
{{/}}
it didn't work, I got an empty response, even though there is a task with the status Done among the tasks.
I have resolved the issue.
Solution:
{{#lookupIssues}}
{{#issuelinks}}
{{#if(equals(type.name, “Cloners”))}}
{{#if(not(equals(outwardIssue.statusCategory.name, “Done”)))}}
{{outwardIssue}}
{{/}}
{{/}}
{{/}}
{{/}}
Hi @Kirill Egorov -- Welcome to the Atlassian Community!
Well done solving your own question!
And as a tip...consider using this how-to article with an example work item to learn the structure of smart values such as issuelinks. That will help identify what to test in filter conditions for lists of things.
https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
Kind regards,
Bill
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.