I'm trying to add a logic to an automation that's manually triggered.
We make multiple Sprints to release a new version each Quarter.
On the Scrum board, when preparing the Sprints, I'm already auto tagging via automation the current Version (Q1 for example) when the Sprint is within the Quarter.
But I would like to be able to then tag the next version automatically when we prepare the next Sprint in the last 2 weeks of the Quarter.
As the last Sprint review of the Quarter should be allocated to Q2 and not Q1.
I'm after a Smart Value or logic to define the condition: if automation runs in the last 2 weeks of the Quarter then add to the "next version by date".
Thanks in advance for your help and insight :)
Hi @Damien_R - This is an interesting requirement. You could try something like this which will evaluate whether the Month is one of the end of quarter months AND the current day of month is within 14 days of the end of quarter.
{{now.format.("M")}}
EQUALS
3
{{#}}{{now.format.("d")}}+14{{/}}
GREATER THAN
31
{{now.format.("M")}}
EQUALS
6
{{#}}{{now.format.("d")}}+14{{/}}
GREATER THAN
30
{{now.format.("M")}}
EQUALS
9
{{#}}{{now.format.("d")}}+14{{/}}
GREATER THAN
30
{{now.format.("M")}}
EQUALS
12
{{#}}{{now.format.("d")}}+14{{/}}
GREATER THAN
31
Hi @Damien_R
Adding to Mark's answer, I believe this could be done using math operations with integer division and mod (wrapping for years), reducing the need for the if / else structure.
Please note, your scenario is quite specific and so I have not tried this.
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.
Thanks @Mark Segall and @Bill Sheboy - we're going to give it a try and see if we have further questions. Or just confirm if it works!! :)
I thought it would have been a common need for people planning in quarters with a bit of automation.
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.