Forums

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

How to print the Quarter using JQL?

Shashank Bindulbavi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 10, 2024

I would like to print the current year and quarter dynamically based on the date when the automation runs.

For example, if today's date is July 1, 2024, I want to update the summary of the subtask to include the current year and quarter:

{{now.year}} Q{{now.quarter}} This is a Subtask.

Current output : 2024 This is a Subtask.

Expected output: 2024 Q3 This is a Subtask.

1 answer

1 accepted

4 votes
Answer accepted
Shashank Bindulbavi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 10, 2024

Looks like I figured it out, in-case someone lands up with the same question in the future. 

 

{{now.format("YYYY")}} Q{{now.format("Q")}} This is a Subtask.


The above logic should work. 

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events