title: JIRA: Find all issues that were at some point assigned to user while in specific status
body: <p>I am looking for a query that lets me search through JIRA for all issues that belonged to a user at any point <em>while in a specific status</em>.</p>
  
  <p>For example, say that when work is finished, issues get set to a "Code Review" status and assigned to user X who is responsible for performing the code review. After code review is completed, the issue is assigned to someone else.</p>
  
  <p>If I at some point want to know all issues that were ever reviewed by user X, how can I accomplish this?</p>
  
  <p>I have found solutions to this problem if you don't care about what status the issue was in when it was assigned to a user, but not if you care about the status.</p>
  
  <p><a href="https://stackoverflow.com/questions/2145913/how-to-find-issues-that-at-some-point-has-been-assigned-to-you">How to find issues that at some point has been assigned to you?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/2582877/find-issues-that-were-ever-assigned-to-me">Find issues that were ever assigned to me</a></p>
  
  <p>The closest query that I am aware of is</p>
  
  <pre><code>assignee was 'user X'
  </code></pre>
  
  <p>but this will get all issues that were assigned to the user in <em>any</em> status.</p>
  
  <p>Can I accomplish this without adding an extra field for storing the code reviewer?</p>