You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hey Gang!
I have a cool use case that I am wracking my brain to solve using Automation for Jira. I would greatly appreciate any help in solving this.
Use Case:
As a developer, I want to receive a slack notification whenever WIP space opens on our active sprint, so that I can pull more work and be awesome at my job.
Example workflow:
In Progress -> QA Review -> Product Review
Automation Logic (part I am having trouble with is in bold):
When a ticket transitions to the workflow step "Product Review", count the number of tickets that are in "In Progress" or "QA Review".
If there are less than 12 tickets in "In Progress" or "QA Review"
Then send a slack alert.
As long as your result set is expected to be <= 100, try using the "Lookup Issues" action.
issuetype in ("In Progress", "QA Review")
{{lookupIssues.size}} < 12
Here's a sample of how I've used something similar. Hope this helps

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jack (and @yrslv )
I don't think that automation can count the number of tickets in a status at one time, but you should be able to create a running total and use that to determine whether to email or not.
So, create a custom number field and default the value to zero.
Then use automation to increment the value of the custom field by one based on an Issue Transition trigger.
Also create a rule to subtract the value with another Issue Transition trigger as cards move out of the status.
Do the same with additional new custom number fields as needed.
It's a very round about way to do it, but I think it should work for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.