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.
I am trying to create a new rule in our Jira instance. If the due date for a ticket is 3 months or less I would like to create a rule that assigns a label to the ticket. Not sure if this is possible or how to go about it, any help/guidance would be appreciated!
Hi Paula - Welcome to the Atlassian Community!
You can create a Scheduled trigger with Automation For Jira. Have it run daily (every one days).
Then use the JQL Condition for the due date query.
Then New Action for Edit Issue to update the Labels field.
Hey @Paula Pokusa - Did you give it a try? Did it work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You will need to have this run everyday.
So as you see in the picture above you will want to have it scheduled daily
I added the JQL in the picture to show you have to search for three months or less
Then add your label.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Paula Pokusa
Developer from Automation here.
As @John Funk mentioned you'll need to create a scheduled rule with a JQL statement to find due date less than 3 months and update the labels field.
Here is an example rule configuration I did, that will hopefully do the job. You can click "validate JQL" to try the query and see which issues will be picked up:
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.