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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Operator WAS IN with optional DURING returns the false results

Hi,

Try to find all tasks closed by an employee but date filter doesn't work. Such a query displays all the issues closed by the user:

project = CA AND status was Done by a.andrusenko during ("2019/07/09", "2019/07/20") AND assignee != a.andrusenko AND reporter != a.andrusenko

the operator DURING doesn't work (same thing with BEFORE, AFTER).

Are there any fixes?

1 answer

1 accepted

0 votes
Answer accepted

Hi @Evgeniy Cherny 

Can you try this

 

project = "your project" AND status changed TO "your status" DURING ("2019-01-01","2019-02-01")

 

Hope this helps 

Thank you, but I need to see changes by the user. The query works correctly and filters issues in the right way except the time frame. It returns issues for all the time, not that chosen.

And same is for BEFORE, AFTER.

Hi @Evgeniy Cherny 

 

I tried this one 

project = "project" AND status changed to Closed during ("2018/01/01", "2019/02/01") AND assignee != mohamed.benziane AND reporter != mohamed.benziane ORDER BY updated ASC, created DESC


And it works fine. Do you look the updated column ? This query return all issue that was updated to closed during 2018/01/01 and 2019/02/01. So if you look the updated column it will be in your time frame. You can see issue that was open before the 2018/01/01.

 

Hope this helps

Thank you a lot, Mohamed. It helped and seems working fine (just added after 'status changed to Closed by ___USER' to filter the user I need.

Like Mohamed Benziane likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,496 views 22 32
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you