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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

78 views 0 5
Read article

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