Need help with adding days to custom date attribute in calculated value script
![]() I've been tasked with writing a script that will pull a date from a custom attribute called "Finding Date" and adding 'X' number of days depending on the value of another field called 'Risk'.
|
Accepted answer
One other answer
![]()
Ralph Schoon (62.0k●3●36●43)
| answered Feb 23 '17, 3:34 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Feb 23 '17, 3:34 a.m. I would suggest to use dojo/date and use functions such as add and difference and the like: https://dojotoolkit.org/reference-guide/1.10/dojo/date.html . I have used dojo/date to calculate the difference and it worked for me. |