Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Adding the number in the smart value to the date

Ömer December 28, 2022

Hi everyone,

I'm having trouble adding the number I received with a web request over the date. These are the steps I try;

1. Some trigger

2. Send Web Request

3. Creating Variable

I am getting some numeric value from web request then creating a variable with that number;

Screenshot 2022-12-28 225305.png
4. Update Due Date with adding this number onto the now.
Screenshot 2022-12-28 225730.png

 

When I logged the value I extracted in the third step, I can see correct number;
Screenshot 2022-12-28 230334.png

 

These are my all steps. When i try last step with a constant number everything's ok but when i try to use a smart value due date is updated with an empty value. Probably I'm making something wrong on last step but I can't figure out how can i fix this.

Thanks,
Ömer

1 answer

1 accepted

0 votes
Answer accepted
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.
December 28, 2022

Hi @Ömer 

At this time, created variables are always text type.  Please try including asNumber when you use the variable:

{{now.plusDays(averageInProgressInDays.asNumber)}}

Kind regards,
Bill

Ömer December 28, 2022

Thanks Bill, it worked

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events