I would like to find issues that have not changed the status in a given period but sorting the result by the duration on a given status. For example, let's say I would like to know stories in BUILD COMPLETE status more than 10 days for example:
project = XXXX AND issuetype = Story AND status = "BUILD COMPLETE"
AND status changed BEFORE -10d
but getting the result sorted from older to newer stories on a given status. For example if I have an issue that is on BUILD COMPLETE more than 20 days will show first than a story that is on this status more than 10 days.
Is there a field that shows the number of days on a given status, so I can see it in the result of the query?
I appreciate any solution that does not require a plug-in.