How to show the count of each status on Jira Automation Email?

Mindy August 15, 2023

I am able to see the count of an individual status on the automation email using Lookup Issues and {{lookupIssues.size|0}}. However, is it possible to get the count of each status on one rule to appear in one email? For example, this is what I am trying to show on the automation email:

 

To Do: 4

In Progress: 6

Done: 12

 

Currently, I am only able to set this up for just one status per rule. But I want multiple statuses to apply to one rule for one email only. Please let me know if this is possible. Thanks!

1 answer

1 accepted

0 votes
Answer accepted
Francis Batilo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 15, 2023

@Mindy

Welcome to Atlassian Community!

That's definitely doable. Do you mind sharing your existing automation rule so that we can help you out?

Cheers,

Francis

Francis Batilo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 15, 2023

@Mindy

You can perhaps refer to this article around using variables when using automation

New action for jira automation power users (atlassian.com)

Mindy August 16, 2023

Hi @Francis Batilo Here is my existing automation rule. The result just looks like this in the email:

Done: 25

2023-08-16 10_06_55-Automation - Jira.png

Thanks!

Mindy August 16, 2023

I figured it out. You just need to create separate Lookup Issues and Create Variables for each status. Thanks!

Francis Batilo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 16, 2023

@Mindy

I'm glad it helped and good job in making it work!

Cheers,
Francis

Suggest an answer

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

Atlassian Community Events