Need to apply format to a calculated date using smart values

Rosana Casilli March 28, 2023

Good morning!

 

I have a question, I have an automation that depending on priorities, it is added to Duedate a value using the following smart value {{issue.created.plusBusinessDays(1)}}, but it does not assign the value, I have logged the value and it is shown "2023-03-29T14:49:28.3+0000". I Think I need to format the value of this calculated due date into a date without time. Is it possible? how can i do it?

Thanks in advance,

Ro

1 answer

1 accepted

0 votes
Answer accepted
Juan Carlos Vera
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 28, 2023
Rosana Casilli March 28, 2023

Hi @Juan Carlos Vera can you help me to establish how should I set it?

Juan Carlos Vera
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 28, 2023

Hi @Rosana Casilli ,

of course! use this code instead of yours:

{{issue.created.plusBusinessDays(1).jqlDateTime}}
Rosana Casilli March 28, 2023

Thank you so much!! I didn't know how to put it together!!

It worked like charm!

Like Juan Carlos Vera likes this

Suggest an answer

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

Atlassian Community Events