Closed Bug 1152818 Opened 9 years ago Closed 9 years ago

changing an assignee to nobody@mozilla.org or any .bugs address should automatically reset the status from ASSIGNED to NEW

Categories

(bugzilla.mozilla.org :: Extensions, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: glob)

References

()

Details

Attachments

(1 file)

forked from upstream bug 1036834, because it's highly workflow dependant and would be trivial to fix as part of the BMO extension.

To avoid cases where the assignee of a bug is not a real person but the bug status is still ASSIGNED, we should automatically reset the status of a bug from ASSIGNED to NEW when the assignee is changed to either "nobody@mozilla.org" or an address ending in ".bugs".
Attached patch 1152818_1.patchSplinter Review
- adds a hook after the old_object has been created but before the database is touched
- adds logic to prevent ASSIGNED to 'nobody' bugs
Attachment #8590635 - Flags: review?(dkl)
Comment on attachment 8590635 [details] [diff] [review]
1152818_1.patch

Review of attachment 8590635 [details] [diff] [review]:
-----------------------------------------------------------------

r=dkl. Works as advertised.
Attachment #8590635 - Flags: review?(dkl) → review+
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   7c5fdd2..497c707  master -> master
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Summary: changing an assignee to nobody@mozilla.org or any .bugs address should automatically reset the status to NEW → changing an assignee to nobody@mozilla.org or any .bugs address should automatically reset the status from ASSIGNED to NEW
Component: Extensions: BMO → Extensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: