Anyone know JQL for searching for issues that were in a status for longer than N days at any point in the past (i.e. they are not currently in that status)?
For example, if the workflow is: Backlog => In Progress => Review => Completed, how can I search for all completed issues that took longer than N days in Review?
Please note that I am not server admin I do not have possibility to install additional addons etc. But we do have ScriptRunner installed already if it helps.