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

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

0 votes
Answer accepted
Ismael Jimoh Community Leader 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 Community Leader Oct 28, 2019

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

0 votes
Answer accepted

Hi @Fahad Akhtar ,

Alternatively you can use startOfMonth. For example,

created > startOfMonth("-3")

Thanks,

Avinash

Ismael Jimoh Community Leader 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  suggestion of using year is the ideal solution here.

0 votes
Answer accepted
Jack Community Leader 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

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 (FREE) 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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Asked in Jira Service Desk

Calling all Insight users, we need your help!

Hello Insight users,  As part of our (Mindville's) acquisition by Atlassian, our training team is looking to build some new Insight training materials. It would really helpful if you can ...

266 views 4 6
View question

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you