I need to make calculation based on existing dates from cf , compare with the dates from the csv imported dates and insert a busy/available text on the scripted field
Howccancthat be achieved?
Lets specify a trouble at first.
If you need to compare two dates into different customfileds try adapt folloeing script
long DateDiff = 0; if( (getCustomFieldValue(10105) != null) & (getCustomFieldValue(12700) != null)) DateDiff = (getCustomFieldValue(10105).getTime() - getCustomFieldValue(12700).getTime())/(24*60*60*1000); return (String) DateDiff
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.