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.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.