Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,007
Community Members
 
Community Events
184
Community Groups

Jira Automation Smart Value count if True

Hi Community,

I have been trying to create an automation without result so I'm asking for help. :)

Expected Rule: when scheduled, looks up issues based on a JQL and sends an email including the count of issues with SLA met.

What I know so far:

  • The lookup issues is correct, I'm using it for other automations.
  • {{#lookupIssues}}{{customfield_10068.completedCycles.breached}}{{/}}
    Does gives me the list of issues with either True (if SLA is breached), or False (if SLA if not breached).

Now I can't figure out how to count them if False. I was hoping for something like this:

{{lookupIssues.customfield_10068.completedCycles.breached.equals("false").size}}

Any advice is welcome!

I'm adding a JSON screenshot in case that helps.Screenshot_breached.png

1 comment

Darryl Lee
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 05, 2022

Hi. I would think you want to check whether SLA is breached in the JQL.

Like # people like this
Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 06, 2022

I second this. You won't he able to do this in smart values so in the JQL filter it down to just breached ones and then you can use the count of issues returned by lookup issues.

Like Curt Holley likes this
Curt Holley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 09, 2022

I'll third Darryl's advice. 👌

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events