Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,554,793
Community Members
 
Community Events
184
Community Groups

Automation for Jira - Based on duedate

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! 

3 answers

1 vote
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 24, 2020

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. 

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 27, 2023

Hey @Paula Pokusa  - Did you give it a try? Did it work? 

0 votes
sierra tiktas
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Apr 27, 2023 • edited

 You will need to have this run everyday.

example (2).png

So as you see in the picture above you will want to have it scheduled daily example (3).png

 

I added the JQL in the picture to show you have to search for three months or less

Then add your label. 

0 votes
Yvan Martin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 27, 2020

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:

 

Screen Shot 2020-08-28 at 3.16.35 pm.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events