Forums

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

Need to set a date based on time and field

carlos sarrate November 28, 2023

I'm looking to set a date in an automation based on a custom number field called "Number of Data Classes" in business days, plus an additional 4 business days.

I'm using {{now.plusBusinessDays(4)}} but how do I add the custom field value to that?

Thanks!

1 answer

1 accepted

0 votes
Answer accepted
Antuan Sammak
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.
November 28, 2023

Hi @carlos sarrate 

 

kindly check this post https://community.atlassian.com/t5/Jira-Software-questions/How-to-setup-an-automation-with-2-date-fields-sum/qaq-p/2305003

i think it has the answer to your question

 

{{issue.yourField.plusBusinessDays(4)}}

carlos sarrate November 29, 2023

Thanks, but i needed the total sum in business days so this ended up working 

 

{{now.plusBusinessDays(issue.customField.plus(4))}}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events