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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

173 views 2 0
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