[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [% 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 Bugzilla, reopening [% terms.abug %] will only display either [% display_value("bug_status", "UNCONFIRMED") FILTER html %] or [%+ display_value("bug_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 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 %] [% 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   [% display_value("bug_status", status.name) FILTER html %]
[% display_value("bug_status", 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 [% display_value("bug_status", 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 %]