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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation to Track WIP

I'd like to count issues:

WHEN an issue transitions to In Progress

AND there are more than 8 issues already In Progress (count these)

THEN send a message 

 

Should I be using this?

{{lookupIssues.size}} greater than 8

2 answers

1 accepted

1 vote
Answer accepted

Hi @Fred 

I cannot tell if you are on Server/Data Center or Cloud version, so...

Lookup Issues will work for Cloud version, so your check on the size can work with the JQL you supply.

For Server/Data Center, you may want to try a scheduled rule instead so you can check on {{issues.size}}

And regarding WIP measures, we also use automation to track Age of WIP.  Here is a how-to for that rule.

Best regards,

Bill

Gotcha; Please try a rule like this to send a message when issues are moved into progress.

  • Trigger: issue transitioned, selecting all of your in-progress status values for To Status
  • Action: LookupIssues on JQL, inserting your project name
project = myProject AND statusCategory = "In Progress"
  • Advanced Compare Condition: {{lookupIssues.size|0} is greater than 7
  • Action: send an email... or post a slack message... or...

Please note: by design JQL lookups inside of rules exclude the trigger issue, so I lowered the condition value to 7 for the condition test.

Amazing! This works perfectly, and it gives me a whole new avenue to explore.

Like Bill Sheboy likes this

Fred, I am glad to hear that helped. 

Here is a related suggestion for improving WIP management that you may want to watch: https://jira.atlassian.com/browse/JSWCLOUD-21297

It's Jira Software, Cloud version.

I'm looking for a way to 'count' issues and not expressly finding it.  

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Automation

New to Jira Automation - goodbye Cron (sort of), hello new project created trigger, new additions to

Hey Everyone! Simeon from the Automation team here. I'm delighted to share some new features and improvements that we are shipping to Jira automation (Cloud only). Firstly, @Sam Harding&nbsp...

2,873 views 10 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you