Hello everyone
How to get age of issue (using scripted field - date picker) in the following format : 00:10 (hours:minutes) . I've tried to implement It using this code:
import com.atlassian.core.util.DateUtils
DateUtils.getDurationString(((new Date().getTime() - issue.getCreated().time) / 1000) as Long)
But I get Invalid date in field