Code worked. =)
Hi Guys,
I am really new to Jira and the management of it, slowly learning.
Am a little bit stuck now, hoping someone can help me out. =)
Goal: Code that calculates end of each quarter as a date.
This is what i with the help of google found, but its not working and i dont know why :/
Q1: {{now.endOfMonth.withMonth(1).plusYears(1).plusMonths(2).format("yyyy-MM-dd")}}
Q2: {{now.endOfMonth.withMonth(1).plusYears(1).plusMonths(5).format("yyyy-MM-dd")}}
Q3: {{now.endOfMonth.withMonth(1).plusYears(1).plusMonths(8).format("yyyy-MM-dd")}}
Q4: {{now.endOfMonth.withMonth(1).plusYears(1).plusMonths(11).format("yyyy-MM-dd")}}
Do anyone know whats wrong ? :)
Hi @mikael_stiglen ,
Glad you managed to get it to work! 🙌
Would you mind sharing the resolution so it can maybe help others if they stumble upon this question/issue?
Cheers,
Tobi
Hi,
Well, my code actually worked.
So what i was trying to do was to autofill an field with quarterly dated "end date" in an automation, last day of each quarter.
First when i tried it, it got really messy and the date 2001-01-01 was added. And i had no clue what the reason was and what was wrong in the code. Couple of days later i tried it again and it worked like a charm. =)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hah, interesting. 👀
Not sure why or how, but I'm glad it worked in the end 😄
Cheers for sharing!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.