Hi Team
I am looking in to query for Date format instead of 04/01/2024
currently using
({{issue.created.format("04/01/2024")}} - {{issue.created.format("08/31/2024")}})
Now I am looking below
Apr 1, 2024 - Aug 31, 2024
Hi @G Ashok
Try with the following format:
{{issue.created.mediumDate}}
The result should be "Aug 8, 2024"
Hope this helps
Best regards
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @G Ashok
Could you please provide additional context? Are you utilizing this with JQL, Automation, or another tool?
Additionally, if you could provide a screenshot, it would be helpful to us.
Best regards
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @G Ashok
For reference please check https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/
The Smart Value {{issue.created}} retrieves the creation date of the triggered issue. If you wish to format this value, you can utilize {{issue.created.mediumDate}}.
Additionally, using {{issue.created.format("04/01/2024")}} will establish a fixed date in the Description as 04/01/2024.
Example of {{[date].[dateformat]}}
Are you attempting to retrieve the time period from a custom field in the issue?
Best regards
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Samuel Gatica _ServiceRocket_ Thanks for quick support, I found the way to resolve the issue. Thank you!
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.