Coding guidelines
Use existing BugData object instead of bug_get_field()