The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Automation - creation of ticket with current Year and Quarter in summary field

Terry Carter
August 8, 2025

Automation - creation of ticket with current Year and Quarter in summary field

 

Hi all I'm sure this has previously been asked and answered, but I can't find the relevant solution 

Similar post https://community.atlassian.com/forums/Jira-questions/Set-Start-Date-and-Due-Date-based-on-Quarter-in-Summary/qaq-p/2272357

 

I have an number of automations which create new tickets (And: Create a New ) every Quarter.   Q1 - Jan - March, Q2, Q3, Q4 etc - {0 0 9 10 1/3 ? *}

The ticket "Summary" has a basic description of the task to be performed.

But I want to add in a date variable    YYYY QQ ..   so it's easier to identify the period

i.e. Summary = Execute task for application  to cover period YYYY QQ 

Where the period  would be  2025 Q1,    2024 Q2,  2025 Q3 etc

2 answers

2 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

4 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 Champions.
August 8, 2025

Hi @Terry Carter -- Welcome to the Atlassian Community!

Yes, and...to the solution you are trying: what types of years are you using for your quarters, calendar-based or week-based?

  • The format "YYYY" will be week-based, and so near the year boundary, the value may be different from what you expect
  • The format "yyyy" will be based on the actual calendar year

 

For example, for the date 2025-12-31 when formatting with:

{{issue.theDateField.format("YYYY")}} will be 2026

{{issue.theDateField.format("yyyy")}} will be 2025

 

Kind regards,
Bill

Terry Carter
August 8, 2025

Thanks Bill.

Actual calendar year  is fine  

Tickets get raised  automatically  on the First day of the month or the first day (or with in a few days) of the Calendar Quarter (Jan, Apr, Jul, Oct)

Like Bill Sheboy likes this
0 votes
Answer accepted
Terry Carter
August 8, 2025

OK Think I have just found the answer is to add this 

- {{now.format("YYYY")}} Q{{now.quarter}}

TAGS
AUG Leaders

Atlassian Community Events