Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I add X days to an existing due date, when the task is transitioned?

Olesia Zhukova
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!
August 5, 2025

I have tasks transitioning from one stage of work (status) to the next, and along with this I need to add, for example 3 days to already set due date automatically.

I've added the action edit due date and tried smart values such as {{now.plusBusinessDays(3)}} {{issue.duedate.plusBusinessDays(3)}} {{issue.created.plusBusinessDays(3)}} but none of them work. I also tried adding conditions like due date is not empty. I also always add a condition to specify issue type. And I always get one error in the log (the field due date is available in the work types)

image.pngIs there a solution to my needs?

3 answers

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 5, 2025

Hi @Olesia Zhukova -- Welcome to the Atlassian Community!

Adding to the suggestions from others...

There are several additional possibilities for that rule symptom.  Unfortunately, the messages in the audit log do not always match the root cause.  Please check the following:

 

#1) Who is the rule actor in the details at the top of the rule?

The default is Automation for Jira, and that user should have the permissions needed for the rule.  If someone changed the actor, why did they do so?  I believe changing the Due Date requires the "Scheduled Issue" permission, and perhaps a different user does not have that one.

 

#2) Are there multiple fields named "Due Date" in your project?

When using a team-managed project, it is possible to add a field which collides with the same name as the built-in field.  If this is the case, please work with the project admin to learn why that field was added and consider removing it.

 

#3) The Due Date field is a date only field, and many of the smart value functions use date / time by default.  You can enforce setting the field correctly by truncating the time part when setting the field:

{{issue.duedate.plusBusinessDays(3).jiraDate}}

 

Kind regards,
Bill

Olesia Zhukova
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!
August 6, 2025

Hi @Stefan Salzl 

Here's the details

image.png 

And the due date is created by another rule. When the task is created.

0 votes
Mikael Sandberg
Community Champion
August 5, 2025

Hi @Olesia Zhukova

Welcome to Atlassian Community!

The error you get in the audit log indicate that the due date field is not on the screen used by the work item. Automations can only change fields that are on the screen.

Olesia Zhukova
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!
August 5, 2025

Hi @Mikael Sandberg 

I know right, but it's on there and I already have a rule working to create a due date when the task is created.

0 votes
Stefan Salzl
Community Champion
August 5, 2025

Hi @Olesia Zhukova 

could you please also send a screenshot of your rule to see how the edit actions are configured.

Furthermore as far as I know it´s not possible to edit the created date as this is a hard written date (often used for revision) by jira.

Thanks in advance.

Best
Stefan

Olesia Zhukova
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!
August 5, 2025

Hi @Stefan Salzl 

Thanks for responding quickly!

My rules look like this mostly.

image.png

And yeah I found someone with a similar problem on here, but the date was 2015 so I thought things must've changed 

Thanks,
Olesia

Stefan Salzl
Community Champion
August 6, 2025

Hi  @Olesia Zhukova 

In the screenshot it only shows one closing } . But I guess this is only hidden by the end of the field.

Furthermore could you please send another screenshot of your rule details? Who is the actor of this rule in the details? Does that user have the permission to edit the the due date /schedule a work item?

Did you configure the manipulation of the create date in another rule?

Best
Stefan

Suggest an answer

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

Atlassian Community Events