I am trying to put together a query in JIRA that covers the following criteria:
I wondered if someone can point me in the right direction please?
Hi @Colin Young
JQL is not a SQL, so you cannot compare different fields within a single query as you ask with out-of-the-box Jira: e.g. resolved within N time units of created.
To do that you would need a marketplace add-on for JQL to enhance the query or an improved reporting tool, or you could try these work-arounds:
Best regards,
Bill
Hi @Colin Young ,
As an alternative, you can try Status Time app developed by our team. It provides reports on how much time passed in each status as well as status entry dates and status transition count.
Once you enter your working calendar into the app, it takes your working schedule into account too. That is, "In Progress" time of an issue opened on Friday at 5 PM and closed on Monday at 9 AM, will be a few hours rather than 3 days. It has various other reports like assignee time, status entry dates, average/sum reports(eg. average in progress time per project). And all these are available as gadgets on the dashboard too.
Here is the online demo link, you can see it in action and try.
If you are looking for a free solution, you can try the limited version Status Time Free. Hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Colin Young Welcome to Community!
You can try something like this :-
project = "JIRA Support" AND issuetype = "New Project Request" AND status changed to closed BEFORE "2020/12/01" AFTER "2020/11/30 00:00"
Thanks
Vikrant Yadav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solution available here :-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Vikrant.
I think I am looking for something more dynamic like
project = "JIRA Support" AND issuetype = "New Project Request" AND status changed to closed BEFORE created+1d
It doesn't like using created after BEFORE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you don't want to use BEFORE AFTER use DURING
status changed to "closed" during ("2020-06-03", "2020-06-07")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks again Vikrant.
I think I need to avoid using static dates. The main idea is to get tickets that were closed last month and within 24 hours of them being created.
I can create the query that shows all tickets from current month -1. I just can't get the closed within a day part of it :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tried this but JIRA aint happy
status changed to resolved during (created, created\u002b1d)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.