Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

jira automation IF condition

Kirill Egorov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 19, 2025

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.

1 answer

1 accepted

1 vote
Answer accepted
Kirill Egorov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 20, 2025

I have resolved the issue.

Solution:

{{#lookupIssues}}
{{#issuelinks}}
{{#if(equals(type.name, “Cloners”))}}
{{#if(not(equals(outwardIssue.statusCategory.name, “Done”)))}}
{{outwardIssue}}
{{/}}
{{/}}
{{/}}
{{/}}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events