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
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
I am new to Jira Work Management. I'm trying to create an automation that will set priority of tasks based on due date. I have set the automation to run once per day, but it appears that to enable such scheduled automation, I need to check the "Run a JQL search and execute actions for each issue in the query" box. Once I do that, it pops up a required "JQL" field, but I am not sure what I am supposed to put into this field. I tried inserting an account ID from the drop-down, but then when I test ran the automation, it gave me an error, so maybe something else was supposed to go into this box?
Thanks for any help you can provide!
Thanks, Mark for the suggestion. I'm not sure if your solution would work as I would want the priority auto-updated as a due date approaches?
Regardless, I did some more experimenting and I now realize that JQL field is for the initial search parameters that will run each time the automation is scheduled. I had assumed that the if/else blocks would take care of this, but I guess you need a broad JQL search to kick off the process?
Anyhow, I put in "due <= 2w" in the JQL field and it seems to be happy with that. (Even though this is basically repeated in the if/else blocks???)
Thanks for the additional context. If you want to share a screenshot of your rule, we can help optimize it. The query should only be required once at the trigger. I would have something like this: