The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Automation due date = started date + original estimate

Laurence Fortin
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!
March 8, 2024

 

Hello, 

I'm trying to create an automation rule that set the stated date as today and the due date as (started dating + original estimate (h)). 

The first half is pretty simple, but I'm struggling with the part of the due date: I've set the due date with this line:

image.png

But with a started date of mars 8, 2024 and a 6h estimated, the result is August 25, 2026 with makes no sense. 

 

Can you please help

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
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 Champions.
March 8, 2024

Hi @Laurence Fortin -- Welcome to the Atlassian Community!

A possible smart value to use for this scenario is:

{{issue.timetracking.originalEstimateSeconds}}

And so adding to {{now}} would be this, with a default value of 0 just in case:

{{now.plusSeconds(issue.timetracking.originalEstimateSeconds|0)}}

That would be in calendar / clock time, and not in working time.

 

Is this what you actually want?  If not, consider dividing your time in seconds into whole days and use plusBusinessDays() for the addition.

Kind regards,
Bill

0 votes
Florian Bonniec
Community Champion
March 8, 2024

HI @Laurence Fortin 

 

I think you have to use issue.timeoriginalestimate.

 

Regards

Laurence Fortin
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!
March 8, 2024

Hi @Florian Bonniec

Thanks, but i have the same result with {{now.plusHours(issue.timeoriginalestimate)}} 

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events