Use the following JQL:
# resolved from the beginning of the day
resolution = Done and resolutiondate > startOfDay()
# closed from the beginning of the day, assuming that closed issues can't be edited (default)
status = Closed and updatedDate > startOfDay()
Having said that, we ended up doing something quite different. here is the workflow:
- QA opens tickets (in the QA project) after reviewing support issues.
- The QA have a special transition in their workflow -
pass to developers
. When doing this, the original issue moves towaiting for dev
state where it can't be modified manually, and a duplicate issue is created in the DEV project. All issue field are being copied. in case this issue has already been assigned than the originalDEV
issue is re-opened. - Developer pick this issue and resolve it. Once the issue is resolved, the original issue from the QA unfreezes - moves to
QA after dev
state where it's editable again. - The QA team picks up this issue, check if they where resolved and closed them or moves them back to
waiting for dev
if needed.
This way we could have report of how many issues were closed, opened, resolved, picked up by the dev team, waiting for the dev team and so on.
To achieve this functionality we used custom fields to save the fields that where passed from the two types of issues, link between the two issues, and used Jira Scripting Suite for the issue and link creation, as well as Behaviours Plugin for filed verification.
In case you need support for Jira > 5.2 instead of Jira Scripting Suite use Script Runner