Adding a Reviewer column/field to a bug

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
dmknuth
Posts: 3
Joined: 23 May 2007, 14:23
Location: Richmond, VA
Contact:

Adding a Reviewer column/field to a bug

Post by dmknuth »

In addition to assigning an issue to a handler, I'd like to assign a reviewer to an issue also. The reviewer will have the authority to close the issue once the hanlder has declared the issue is resolved and the reviewer agrees with this.

It looks like I need to add a reviewer_id column to the manits_bug_table and then go through all the code and wherever handler_id is referenced, see if it is appropriate to also add code for reviewer_id.

Or is there a better way to accomplish this?
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Post by deboutv »

Maybe when the handler changes the status to resolved, the bug is reassigned to another person who closes the bug after a review, no?
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
matto
Posts: 13
Joined: 31 Jan 2007, 18:49

Post by matto »

I had to do something similar to that, but people keep forgetting to reassign issues. I was wondering if there is a way to make assigned to a required field when changing status.
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Post by deboutv »

Someone asked me if it was possible to change the status value if a custom field takes a specific value. Do you want something like this?
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
matto
Posts: 13
Joined: 31 Jan 2007, 18:49

Post by matto »

I thought your suggestion was to have the handler reassign the issue when they set the status to resolved. I'm sorry if i misunderstood you. My question was if there is a way to force that; to make the handler set the assign to field when they change the status to resolved.
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Post by deboutv »

A direct way, no I don't think.
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
matto
Posts: 13
Joined: 31 Jan 2007, 18:49

Post by matto »

OK, thanks anyway, and again sorry about the confusion
Post Reply