Managing Workflow for Software Defects