bugzilla - How do I automatically change the assignee of a bug back to the reporter when a bug is marked RESOLVED? -


We have a workflow where all incoming bugs are marked added to assign the default of their product, By then they remain silent Asinini

At that point, they are either unselected from resolutions (eg not done yet) or if the reporters are satisfied they are closed.

How do we automatically change the assignment bug to the reporter when the first assignee resolved it?

Actually, it's very easy to have a Bugzilla hook. Depending on where the extension code is required, the version will depend on which version you are using, because it is a capacity that is rapidly evolving.

In Bugzilla 3.6.1, the current version, if you want to call your extension local , you can get a file extension / local / extension. Pm Will create.

An overview of the entire extension system.

For this hook you want to use it bug_end_of_update , which is called after the object is changed in bugzilla / bug.pm But before the database is written.

What are you doing, you might see change to see if bug_status has changed or not. If so, update bug to set the reporter to the owner, and add that change to changes .

The main developers of Bugzilla can usually be found at #mozwebtools at irc.mozilla.org, drop and chat about those details if my answer is not enough to get you rolling.


Comments