Forums

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

Jura automation moving old tasks

Jakub June 9, 2025

Hi community,

 

is there a way to take tasks that have certain status, and check if amount of them is greater than 15, if yes, then for each task that have index above 15, it should send email to the assignee, preferably also add a label to those tasks?

2 answers

0 votes
Karan Sachdev
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 9, 2025

Hey Jakub,

Welcome to Atlassian Community!

You can search for the work items using the lookup issues function.

Then use the smart value {{lookupIssues.size}} to check if it returns more than 15 results, and perform the required set of actions.

Thanks!

Jakub June 9, 2025

Hey Karan,

 

I have seen “lookup issues” in many posts but I don’t have this option in my jira, only “lookup work items”

Karan Sachdev
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 9, 2025
Jakub June 9, 2025

Thank you, my main problem is to assign the label only to work items which have index over limit, so first 15 tasks would not have this label and every one above will have

0 votes
Valerie Knapp
Community Champion
June 9, 2025

Hi @Jakub , welcome to the Atlassian Community and thanks for your post.

I helped another person with a similar requirement here - https://community.atlassian.com/forums/Jira-questions/Send-Email-when-Open-tickets-in-Given-Project-exceeds-10/qaq-p/2931047 

You can have a JQL in the scheduled trigger to program the rule to be run whenever you find issues that meet the criteria and then you can use the lookup issues size to determine, as in this case, whether to send an email or not, and what to put in the message.

Please have a go at creating the rule yourself and test it. When you have some results or errors, write back with screens of the rule, the configurations and what tests you tried so we can help you further.

Best wishes

Suggest an answer

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

Atlassian Community Events