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

JQL Query filtering for 2 status options

Bruce Williams July 8, 2024

What's wrong with this JQL?

project = SIR AND status changed from "In Review" to "In Progress" during ("2024-07-01", "2024-08-01")

I got the following off a quick search, it works, but why wont the above work?

project = SIR AND status changed from "In Progress" to "Closed" during ("2024-07-01", "2024-08-01")

TIA,

3 answers

2 accepted

0 votes
Answer accepted
Laurie Sciutti
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 8, 2024

Hi @Bruce Williams and welcome to the Community!  Can you confirm that your workflow actually has a transition from "In Review" to "In Progress"?

Bruce Williams July 9, 2024

Hi Laurie, Yes, it has that direct step.

0 votes
Answer accepted
Lisa Forstberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 8, 2024

Hi!

So the first JQL does not work but the second does not work? 

What happens when you run the second one? Do you get an error or just no results? Can you post a screenshot?

Create a test ticket and move it through the workflow to status Closed to provide a test case to validate your JQL.

 

best regards

/Lisa

Bruce Williams July 8, 2024 edited

I can't seem to reply, I;ll try again

Bruce Williams July 8, 2024

The first on failed, the second one (copied from Google, worked). I tried the first again without "during" and the dates, and it works. What's wrong with the dates' statement I wonder?

Lisa Forstberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 8, 2024

What is your hosting type ? Cloud / on Prem (DC or Server?)

If you remove DURING("2024-07-01", "2024-08-01") you will get any ticket in the project that has moved from one status to the other status at any point in time. If you want only those that changed from 1st of july to 1st of august you add the during statement.

Try to type your way through the JQL instead of copying it in if you get a mixed result, just to avoid the problem with characters / spaces etc 

 

/L

 

 

Like • Bruce Williams likes this
Bruce Williams July 9, 2024

Thanks again for taking the time to look at this,

I'll type my way through step by step to see how it goes.

I've reviewed the Workflow and there is a join from "INREVIEW" to "IN PROGRESS" however the label on the arrow says "REVIEW TO IN PROGRESS". I'll try different versions of the Review status. I wonder if the labelled arrow exists as an action that can be filtered/captured or reported?

Cheers,

0 votes
Bruce Williams July 16, 2024

Today the filter worked, I'm not sure what changed:

project = SIR AND status changed from "In Review" to "In Progress" during ("2024-07-01", "2024-08-01")

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Events