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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,987
Community Members
 
Community Events
176
Community Groups

Adding the number in the smart value to the date

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

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

Thanks Bill, it worked

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events