Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

How do I trigger an automation 5 days prior to due date?

Margaret Winward
Contributor
October 22, 2020

I am trying to create a task 5 days prior to the due date in Jira Service Desk. The JQL I tried triggers the automation 5 days after the due date. What would be the JQL?Screen Shot 2020-10-22 at 8.12.44 AM.png

 

1 answer

1 accepted

0 votes
Answer accepted
Velizar Borisov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 22, 2020

Hi Margaret, 

It should be the way you used it. "due = -5d" will always give you the issues with

'due date' = 'current day' - '5 days'

The only thing that comes to my mind if you accidently forgot to save your automation rule.

Besties,
Velio

Margaret Winward
Contributor
October 22, 2020

That's what I thought. You got me thinking so I just removed the "-" and it now runs 5 days prior to the due date so it is opposite of what I thought it should be doing. Thank you for helping me stir my thought process.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, atlassian community, journeys for jira service management, journeys for jsm, eap jsm atlassian, early access program atlassian, early access program journeys atlassian, early access program journeys jira service management, join atlassian eap

Join the Early Access Program (EAP) - Journeys for Jira Service Management 🚪

Journeys is a brand new feature in Jira Service Management that helps you streamline various processes in your organization that may cross multiple departments, such as employee onboarding or off-boarding that require action from different teams. ✨

Join the EAP →
AUG Leaders

Upcoming Jira Service Management Events