Copy Release version date

Leandro S July 28, 2014

Hi,

Need a little help. I must create a field that copy the release date in a issue in string format.

I'm using a script fild with the below script. But is generating in YYYY / MM / DD HH: MM format and need to generate in DD / MM / YYYY format. Is it possible?

Date releaseDate = null
issue.fixVersions?.each{releaseDate = it.releaseDate}
return releaseDate

Thanks

1 answer

1 accepted

1 vote
Answer accepted
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 29, 2014

return releaseDate.format("dd/MM/yyyy")

Suggest an answer

Log in or Sign up to answer