Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Value for Future Quarter tickets

Erica Robinson
Contributor
June 20, 2024

Background: We have approx 30+ tickets that are build out each quarter that have Q{{now.format("Q")}} built into them since they're quarter specific. These are for various different teams that I help organize automations for.

 

I was asked to have some of the tickets made ahead of the quarter start so they can start to be scheduled into the future sprints. I've tried the following, but both just give me with no quarter value:

  • Q{{now.plusMonths(1).startOfMonth("Q")}}
  • Q{{now.plusWeeks(2).startOfWeek("Q")}}

 

Essentially I'm trying to create a ticket in the current quarter (Q2) for the next quarter (Q3) and I need the ticket to read "Ticket Summary Q3" not "Ticket Summary Q2" once it's created. 

 

We are not looking to add any plug-ins for this functionality. If it's not available via smart value then I will advise the individuals accordingly.

 

1 answer

1 accepted

3 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 20, 2024

Hi @Erica Robinson -- Welcome to the Atlassian Community!

Please continue to use the format() function for that, incrementing the date, as needed.

For example:

Q{{now.plusMonths(1).startOfMonth.format("Q")}}

or this one, to automatically add the Q:

{{now.plusMonths(1).startOfMonth.format("qqq")}}

Please look here to learn more possible formats:

Kind regards,
Bill

Erica Robinson
Contributor
June 20, 2024

Thanks for the welcome @Bill Sheboy! :) 

These both worked perfectly! Thank you so much, this is going to save a lot of time for me and my teams.

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events