title: JIRA JQL - Find issues with more than X days in Status
body: <p>I want to show all issues where it has been in a current status for more than X days - is this possible?</p>
  
  <p>We have this workflow: <code>Registered</code> => <code>Analyze</code> => <code>Planned</code> ... etc. The ticket can be in <code>Registered</code> for 3 weeks and it can be 3 weeks in <code>Analyze</code> without any problems.</p>
  
  <p>Currently I am using this JQL to show tickets that have been more than 3 weeks in <code>Analyze</code>:</p>
  
  <pre><code>project = MyProject AND status = Analyze AND created &lt;= -6w
  </code></pre>
  
  <p>This is wrong due to so many reasons and it does not look at the time in the current transition state - nor does it take in to account that it can be pushed back from <code>Planned</code> to <code>Analyze</code> and then allow a new 3 weeks analyze period.</p>
  
  <p>Is the above possible to filter in JIRA? I don't have the possibility to use the JIRA REST interface - only the builtin JQL.</p>
  
  <p>I am running with JIRA version 6.4.5.</p>