[%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # Contributor(s): Frédéric Buclin # Gervase Markham #%] [% PROCESS "global/field-descs.none.tmpl" %] [% INCLUDE global/header.html.tmpl title = "Edit Workflow" style_urls = ['skins/standard/admin.css'] %]

This page allows you to define which status transitions are valid in your workflow. For compatibility with older versions of [% terms.Bugzilla %], reopening [% terms.abug %] will only display either [% get_status("UNCONFIRMED") FILTER html %] or [%+ get_status("REOPENED") FILTER html %] (if allowed by your workflow) but not both. The decision depends on whether the [% terms.bug %] has ever been confirmed or not. So it is a good idea to allow both transitions and let [% terms.Bugzilla %] select the correct one.

[% FOREACH status = statuses %] [% END %] [%# This defines the entry point in the workflow %] [% p = [{id => 0, name => "{Start}", is_open => 1}] %] [% FOREACH status = p.merge(statuses) %] [% FOREACH new_status = statuses %] [% IF status.id != new_status.id && (status.id || new_status.is_open) %] [% checked = workflow.${status.id}.${new_status.id}.defined ? 1 : 0 %] [% mandatory = (status.id && new_status.name == Param("duplicate_or_move_bug_status")) ? 1 : 0 %] [% ELSE %] [% END %] [% END %] [% END %]
  To
From   [% status.name FILTER html %]
[% status.name FILTER html %]  

When [% terms.abug %] is marked as a duplicate of another one or is moved to another installation, the [% terms.bug %] status is automatically set to [% Param("duplicate_or_move_bug_status") FILTER html %]. All transitions to this [% terms.bug %] status must then be valid (this is the reason why you cannot edit them above).
Note: you can change this setting by visiting the Parameters page and editing the duplicate_or_move_bug_status parameter.

- Cancel Changes - View Comments Required on Status Transitions

[% INCLUDE global/footer.html.tmpl %]