Forums

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

how to handle No value using Smart value for date field

Peyush Agarwal
Contributor
April 3, 2020

So I have used Difference function to find value between 2 dates. Now in order to do error handling, if in case one of the date is missing, it starts throwing out. 

{{#=}}ROUND ((({{QA Ready - Planned.diff(QA Ready - Actual).days}} / {{Implementation Start.diff(QA Ready - Planned).days}}) * 100), 2){{/}} %

 

I have been able to use generally as : 

{{QA Actual Effort - till CQA}}{{^QA Actual Effort - till CQA}}0{{/}}

 

but unable to understand how to use along with difference function 

{{#=}}ROUND ((({{QA Ready - Planned.diff(QA Ready - Actual).days}} / {{Implementation Start.diff(QA Ready - Planned).days}}) * 100), 2){{/}} %

Please suggest 

1 answer

0 votes
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.
June 29, 2020

Hi @Peyush Agarwal 

I had a similar issue with numeric values, and because smart values cannot be nested the default value feature didn't support also working with functions (such as diff).

The only work-around I found was to use IF conditions prior to my math, ensuring that all values were available or initialized prior to use.

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events