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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,084 views 4 9
Read article

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