Forums

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

Jira Automation to forward epic statuses

jeelani Karim
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!
September 13, 2025
  • Trigger: Scheduled 
  • Condition: Issue type as Epic
  • Action: Lookup issues > query to check status as Closed
  • Action: Lookup issues > query to check status as Review
  • Action: Lookup issues > query to check status as Ready
  • Action: Send Email> store {{lookupIssues.flter("status = 'Closed'"). size}}

1 answer

1 accepted

3 votes
Answer accepted
Tomislav Tobijas
Community Champion
September 13, 2025

Hi @jeelani Karim ,

I might be wrong here (if I am, I hope someone will correct me), but I don't think you can use .filter() function within {{lookupIssues}} smart value đź‘€

If you're using Jira automation 9.0 (as this seems to be Jira on-prem), you could probably use variables to store the response from each Lookup action.

Basically, you could build the following automation:

  • Trigger: as-is
  • Condition: as-is
  • Action: Lookup issues > first query
  • Action: Create variable > store {{lookupissues.size}}
  • Action: Lookup issues > second query
  • Action: Create variable > store {{lookupissues.size}}
  • ...

This could probably be optimized a bit more, but it might be a good starting point.

With the current setup, when you are in the last action, Send email, you're only referencing the last result from the Lookup issues action, meaning the result of the query 

Status = "READY FOR REVIEW" and "planning increment" ~ CCB-25Q3

Here are also some relevant materials related to dynamic searches and Lookup issues action:

Hope this helps.

Cheers,
Tobi

jeelani Karim
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!
September 13, 2025

Thanks @Tomislav Tobijas : This worked for me and i could populate the right counts 

Like • Tomislav Tobijas likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events