hi
I have a field of quarter Q124 Q224 ext.
I'd like to have an automation that when an issue is clsosed , the resolution date qill be calculated by a smart value {{issue.resolutiondate.as("qqqYY")}} and put in the list quarter field
I tried using JSON but I keep getting error
Hi,
you should achieve this using date format and the format documented here : https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html
Hi ,
thank you !! this is the solution for that I have used
{
"fields": {
"Closing Quarter": {
"value": "{{cf}}"
}
}
}
while cf is a smart value {{issue.resolutiondate.format("qqqYY")}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @aya nayman
Please consider: do you have fiscal quarters / years and how do you measure the year start for quarters?
For fiscal quarters / years, remember to adjust the month of the date before performing the calculation.
And for year start, please carefully review the documentation for the format differences for "Y" versus "y" values:
For example, on 30 December 2024, "YYYY" will produce 2025 and "yyyy" will produce 2024. Thus the date and format could alter the result as there is variation at the first / last weeks of the year.
Kind regards,
Bill
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.