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.
Hello, I need some help with an automation I'm working on. The goal is for the automation to identify the oldest issue in a JQL search and assign that issue to a team of agents in round robin. So far Ive gotten to the point of identifying the oldest issue and created a variable for it. How do I tell the automation to perform an action where the variable issue is now the target of the assigning?
Side note: I wanted to use the Scheduled trigger to kick off this automation, but it tries to execute the action on every ticket in the search. I only want the oldest ticket to be affected. Any recommendations? I was thinking about the 'SLA Threshold breached' option and set it to a time well before breaching so the automation only looks at that one ticket, but i saw a warning that it fails sometimes.
Thanks for any help
Hello @Jelani Walton
You can use a For Branch > Related Issues > JQL step to look up the one issue on which you want to operate. The JQL for that would be
issue = {{firstIssueKey}}
Or you could skip using the variable and use this JQL
issue = {{lookupIssues.first.key}}
Then within that branch you could operate on that issue.
---
You can still use a Schedule trigger. Just don't put a JQL into the trigger itself. Continue to use the Lookup Issues action after the trigger to get to the issue you want.
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.