jql based on due date within a specified quarter

Jack Brickey Community Champion Apr 06, 2016

I have researched this a bit and found some similar scenarios but no real answer yet.

Scenario: We are using JIRA to track our quarterly MBOs. I have created a dashboard that displays the MBOs but I want the dashboard to flow naturally in time. That is, I would like to be able to show "last quarters results", "current quarter's progress" and maybe even "next quarter's goals".

Problem: I haven't found a way to JQL this w/o having to hard code and consequently modify the date component. Today I use Due Date and set to the end of the quarter. However, then as we move thru the quarters i have to update all of my filters...setting current to last, next to current, etc.

I'm looking for other's experience or ideas here that might allow me to have JQLs that survive the quarterly rollover. Hypothetical example to reiterate my desire: Current Quarter filter --> Issuetype = MBO AND DueDate in 'current quarter'.

All ideas welcome...

1 answer

Hmm, you are on cloud, so Script Runner isn't available, correct?  I was thinking that you'd have to write a new JQL function for that, but then started looking into whether or not the function "issueFieldMatch" could be used to match the quarter based on regular expressions.  It doesn't seem impossible, but I couldn't work out the regex format offhand.

Jack Brickey Community Champion Apr 06, 2016

yep cloud so no scriptrunner. sad For now I have chosen to create some customer fields (MBO Year and MBO Quarter) to simplify my JQLs. I will simply have to edit my filters each quarter for now I think. yuck! We may move to server at some point then scriptrunner would be an option.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,312 views 14 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot