Need help with a Script to return the difference between current date and due date (field of issue )
if the value of the difference is 0>diiff<=7 then should return one value
if the value of the difference is 7>diiff<=14 then should return one value
if the value of the difference is 14>diiff<=21 then should return one value
these values supplied should go in one custom field or 3 different field cant decide .
Please help
then these dynamically changing Scripted custom field should be reflected in the dashboard showing that an issue is due in one week ,two , three . so as to take action depending on due date .