Content
View differences
Updated by Oliver Günther 3 days ago
**As** an OpenProject admininistrator
**I want** an easier interface to copy workflows from one role to another
**so that** I get less confused by the existing interface.
**Acceptance criteria**
* There are two separate screens to copy workflows
* 1: "Copy to other roles" Copy workflow from one role to another role
* Basic form:
* "Copy workflows Button `Copy` in the workflow configuration screen of 'Type name' between roles"
a type
* In this copy screen there is no type selection.
* Source selection: Single select field. In case a role was selected in the previous screen this is preselected.
* Target selection: Multi-select field (similar to column selection)
* Primary button: `Copy`, taking you back to the show/edit page of a type workflow `Copy`
* Secondary button: `Cancel` taking you back to where you where using `redirect_back`
* 2: "Copy to another type": Copy workflow from one type to another type
* Basic form:
* "Copy workflow from 'Type name' to another type"
* Target
* Save and cancel buttons
* Save button takes you back to Menu item `Copy` in the show page more menu of a type
in the new type index page
* Cancel button takes you back using `redirect_back`
* In this screen there is no role selection. Always all roles are copied over.
* There is no source selection
* Three is only a target selection: Single-select
* Both actions are available as an action menu on the index page, and on the page header on a single type
* The summary action is remove from all but the index page
**I want** an easier interface to copy workflows from one role to another
**so that** I get less confused by the existing interface.
**Acceptance criteria**
* There are two separate screens to copy workflows
* 1: "Copy to other roles" Copy workflow from one role to another role
* Basic form:
* "Copy workflows
* Source selection: Single select field. In case a role was selected in the previous screen this is preselected.
* Target selection: Multi-select field (similar to column selection)
* Primary button: `Copy`, taking you back to the show/edit page of a type workflow
* Secondary button: `Cancel` taking you back to where you where using `redirect_back`
* 2: "Copy to another type": Copy workflow from one type to another type
* Basic form:
* "Copy workflow from 'Type name' to another type"
* Target
* Save and cancel buttons
* Save button takes you back to
* In this screen there is no role selection. Always all roles are copied over.
* There is no source selection
* Three is only a target selection: Single-select
* Both actions are available as an action menu on the index page, and on the page header on a single type
* The summary action is remove from all but the index page