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

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 Leaders.
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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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)}} 

Suggest an answer

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

Atlassian Community Events