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

Automations to change the due date

Andres Zamudio April 4, 2024

Hello everyone,

I'm currently working on setting up automations in Jira, and I'm facing a challenge that I hope someone can assist me with. I want to create an automation rule where the due date of an issue is automatically updated to the current date whenever it's changed. What I'm hoping to achieve is to push the due date whenever someone doesn't update their tickets to either 'Done" or "On track"

Here's what I've tried so far:

  1. I've set up a rule triggered by the "Issue updated" event.
  2. I'm attempting to use JQL to specify the condition for when the due date is changed to today's date, but I'm unsure if I'm using the correct syntax. (is this correct?)
    duedate = endOfDay() AND duedate changed to now()
  3. I'm not sure how to configure the action to update the due date to the current date.

Could someone guide how to properly set up this automation rule? Specifically:

  1. What is the correct JQL syntax to check if the due date is updated to today's date (or the day when the automation runs)?
  2. How can I configure the action to update the due date to the current date?

Any help or insights would be greatly appreciated. Thank you in advance!

1 answer

0 votes
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.
April 4, 2024

Hi Andres,

I think I would create the rule based on the Field Value Changed trigger and use the Due Date field. 

Then add a Condition to check if the Due Date > startOfDay() and Due Date < endOfDay()

To set the Due Date to the current date, just use now()

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events