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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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

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.
Oct 28, 2019 • edited Apr 18, 2023

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.
Oct 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.
Oct 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.
Oct 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.

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.
Oct 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.
Oct 28, 2019

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events