Find tickets that were assigned to me in the past, but not in a specific status

I have a query that works pretty well for the most part:

(assignee was estrom BEFORE now() AND status was not "In Code Review" ) AND status != Closed

This shows me all tickets that have been assigned to me in the past, that were NOT assigned to me for code review. But I'd like it to show tickets that had been assigned to me when the tickets were In Progress, that are now assigned to someone else for Code Review. How can I change the query to factor that in?

2 answers

(assignee was estrom BEFORE now() AND status was "In Progress" BEFORE now())

AND assignee not in (estrom) AND status = "In Review"

I dont think its possible to get a specific "was assigned to me and was in progress during that time". So you could just go with "was assigned to me, and was in progress before" ?

Nope, that didn't work at all.

Daniel is correct, it is not possible to get a specific status and assignee combination for a period. The first part of his query will get results even if you have only been assigned - lets say the day before yesterday - but the status "In Progress"was left two months ago.

Maybe start with "assignee was username" and then the rest?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

258 views 1 18
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