Forums

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

How can I use a smartvalue to calculate the date in a custom field + 6 business days?

Gabriel Viger January 13, 2021

Hello everyone,

I am trying to create an automation rule where it calculates the date from a custom field plus 6 business day.

I have looked at the documentation and found this smartvalue but I don't know how to take the source date from a custom field rather than "now":

{{now.plusBusinessDays(6)}}

Would it be {{(issue.customField_xxxxx.value).plusBusinessDays(6)}}?

Thanks for the help everyone! :)

Gabriel

1 answer

1 accepted

0 votes
Answer accepted
John Funk
Community Champion
January 13, 2021

Hi Gabriel,

Try this:

{{issue.customField_xxxxx.plusBusinessDays(6)}}

Gabriel Viger January 14, 2021

Hi John,

Ok I will test this as soon as I can and let you know if it worked.

Thanks for the help :)

Gabriel

Like John Funk likes this
Gabriel Viger January 19, 2021

Hi John,

it worked.

Thanks for your help :)

Cheers,

Gabriel

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer