Custom workflow (almost) implemented

Max Kanat-Alexander mkanat at bugzilla.org
Sat May 19 22:46:57 UTC 2007


On Sun, 20 May 2007 00:04:18 +0200 Frédéric Buclin <lpsolit at gmail.com>
wrote:
> I thought it may be a good idea to have a new parameter to choose if
> you want the old or new behavior. If you select 'old', then Bugzilla
> will choose between UNCO and REOP. If you select 'new', Bugzilla will
> display *all* allowed transitions (so you could see both UNCO and
> REOP at the same time if your workflow says so). What is your opinion
> on it?

	Yeah, I think it will have to be a separate parameter on the
same page. Something like:

	When a bug is "reopened":
	(a) Set it to UNCONFIRMED if it was previously UNCONFIRMED, and
REOPENED otherwise.
	(b) Set it to whatever its previous status was.

	And instead of having REOPENED as a status transition, we can
have an action called "reopen" in the workflow, and what it does can be
defined as above. And then people can also specify transitions to NEW
and so on.

	"reopen" should only be allowed from closed states.

	Having a system like this, where certain status transitions are
actually defined by a separate parameter, will allow us to have an even
more flexible system.

	-Max
-- 
http://www.everythingsolved.com/
Competent, Friendly Bugzilla Services. And Everything Else, too.



More information about the developers mailing list