Hi,
We are usingbelow code to get Issue agein JIRA 7.3.6
import com.atlassian.core.util.DateUtils
DateUtils.getDurationString(((new Date().getTime() - issue.getCreated().time) / 1000) as Long)
output looks like 20w 3h 23m
is there anyway we can get only days.
Thanks,
Ashish.