We are looking to generate some stats around the health of our teams' backlog.
Our workflows currently may have a status (different for different teams) in the "To Do" status category that represents a refined state.
We are looking to query those issues that are in the last of the "To Do" status category before they get transitioned to being in a state belonging to an "In Progress" status category.