Hello, I am using the below script for displaying the Release Date from the Fix version under the issue page. Currently, the field displays the DATE & TIME. I want to make sure ONLY the DATE gets displayed without the time.
import java.sql.Timestamp
import java.text.DateFormat
import java.util.Date
Collection versions = issue.getFixVersions()
if (versions==null || versions.size()!=1)
return null
def version = versions.iterator().next()
new Date(version.releaseDate.time)
Can someone help me with how to remove the TIME from getting displayed ? Thank you