P4DTI issue job000120

TitleBugzilla integration doesn't enforce workflow restrictions
Assigned userNick Barnes
DescriptionBugzilla has some workflow restrictions (e.g. only some transitions are legal, only some users may make some transitions). We don't enforce these.
AnalysisThe Bugzilla workflow is partially documented in bug_status.html (see, for instance, <URL: http://bugzilla.mozilla.org/bug_status.html>). There are only a small number of permitted transitions, and restrictions on which users may make others (e.g. UNCONFIRMED -> NEW). The latter issue is really job job000088. The former issue is connected to job job000106; for consistency with other integrations we should probably outlaw unpermitted transitions, even though this leaves us open to the multiple transitions problem. Maybe we should make it a switch.
So we should add code to bugzilla_bug.update which restricts the permitted transitions to (at most a subset of) those allowed by Bugzilla.
How foundinspection
EvidenceI just know.
Introduced in0.5.0
Created byNick Barnes
Created on2000-12-04 14:07:27
Last modified byGareth Rees
Last modified on2001-12-10 19:09:27
History2000-12-04 NB Created.


Change Effect Date User Description
5921 closed 2000-12-13 12:01:33 Nick Barnes        forbid forbidden transitions.