Forums

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

sum two date

Cesar Amores
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!
June 13, 2023

is possible sum two date in jira automation?



NewTimeInWaiting op: {{issue."Start Time in Waiting"}}
NewTimeInWaiting: {{NowTimeInWaiting}}
starttimemillis: {{issue."Start Time in Waiting".millis}}

Total: {{issue."Start Time in Waiting".plusMillis(issue."Start Time in Waiting".millis})}}

1 answer

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.
June 13, 2023

Hi @Cesar Amores -- Welcome to the Atlassian Community!

What problem are you trying to solve by doing this, as summing two date fields does not make sense to me?

Instead is one of the fields a date/time field and one of them a number field of time units?  If so, you can add the number to the date/time field by using the plus functions as you have shown: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/#Example.6

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events