Hi,
We have purchase Script Runner Addon and we would like to have an Age column using Scripted field.
Currently we are using the script below but the returned format is long (e.g. 25w 3d 14h 9m) and we would like to have it in days only.
Can you please assist how to tweak the script in order to gain this result ?
import com.atlassian.core.util.DateUtils
DateUtils.getDurationString(((new Date().getTime() - issue.getCreated().time) / 1000) as Long)