Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is there a "startOfQuarter" like there is a "startOfWeek" in JQL?

Fahad Akhtar
Contributor
October 28, 2019

Hi,

My team and I want to generate quarterly reports. Can we use "startOfQuarter" instead of using 2019/01/01 - 2019/03/31?

Thanks

4 answers

4 accepted

2 votes
Answer accepted
Jack Nolddor [Sweet Bananas]
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
October 28, 2019

Hi Fahad Akhtar,

Sadly, there is not a native function like startOfQuarter(), but you can have a similar approach using, for example:

created >= startOfYear() and created <= startOfYear("+90d")

OR

created => startOfMonth() and created <= startOfYear("+3")

 

Additionally, you can also use JQL Booster Pack third-party app which truly allows you to use the startOfQuarter() function. Here is the documentation page for this function.


However, this complement is only available on Server / DataCenter and not on Cloud,
Regards

1 vote
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 28, 2019

another option... You could create 4 filters, one for each quarter

  • Q1 - project = myproject and created >= startOfYear() and created <= startOfYear("+90d")
  • Q2 - project = myproject and and created >= startOfYear("+91d") and created <= startOfYear("+181d")
  • etc...
0 votes
Answer accepted
Avinash Bhagawati {Appfire}
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 28, 2019

Hi @Fahad Akhtar ,

Alternatively you can use startOfMonth. For example,

created > startOfMonth("-3")

Thanks,

Avinash

Ismael Jimoh
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.
October 28, 2019

@Avinash Bhagawati {Appfire}  @Fahad Akhtar 

StartOfMonth(-3) does not equate to last quarter but rather the issues created from this month for the past 3 months.

@Jack Brickey  suggestion of using year is the ideal solution here.

Like Jakub Eliasz likes this
0 votes
Answer accepted
Ismael Jimoh
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.
October 28, 2019

No there’s not out of the box.

Not sure if this can be achieved with an add-on like scriptrunner though, since it allows you build custom jql functions(on the server version)

You may also want to look at one of the repoerting addons that extend the default JQL provided by Jira.

Cheers

Ismael Jimoh
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.
October 28, 2019

There’s an existing feature request for it here: https://jira.atlassian.com/plugins/servlet/mobile#issue/JRASERVER-69535

Karen Aiken
Contributor
August 13, 2024

Feature request link - non-mobile view -
https://jira.atlassian.com/browse/JRASERVER-69535

Cloud feature request -
https://jira.atlassian.com/browse/JRACLOUD-20359

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events