Hello
This is a minor issue bug it's bugging me as everything else is 'perfect'
I have a release automation in. place that emails us when we release a version.
The date is formatted as 2024-09-27T00:00:00.0+0000 in the email received
Code:
Result
Can we format this further so the time is stripped or formatted correctly? I tried other options but didn't seem to produce any result in email
2024-09-27T00:00:00.0+0000
Hi @Antonio Smith I found this Knowledge Article from Atlassian that should give you all sorts of options for formatting the date.
Hope that helps.
I read that before posting and was confused how I would apply to release
{{version.releaseDate.shortDate}} returns blank.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Antonio,
Try adding .shortDate or .longDate to your smart value. For example: {{issue.releaseDate.shortDate}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sorry for the delay, I tried this before and it was blank.
I thought {{version.releaseDate.shortDate}} would do it but that was also blank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try: {{issue.fixVersions.releaseDate.shortDate}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.