OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
improve missing share workflow message
ulferts96d4eaa36818
diff --git a/config/locales/en.yml b/config/locales/en.ymlindex d6abded840b..7ed0ed3fca8 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -462,8 +462,8 @@ en:sharing:missing_workflow_waring:title: "Workflow missing for work package sharing"- message: "No workflow configured for the 'Work package editor' role. Without a workflow, the status of a shared work package cannot be changed."- link_message: "Configure a workflow in the administration."+ message: "No workflow is configured for the 'Work package editor' role. Without a workflow, the shared with user cannot alter the status of the work package. Workflows can be copied. Select a source type (e.g. 'Task') and source role (e.g. 'Member'). Then select the target types. To start with, you could select all the types as targets. Finally, select the 'Work package editor' role as the target and press 'Copy'. After having thus created the defaults, fine tune the workflows as you do for every other role."+ link_message: "Configure the workflows in the administration."summary:reports:diff --git a/docs/user-guide/work-packages/share-work-packages/README.md b/docs/user-guide/work-packages/share-work-packages/README.mdindex 0d038a4e711..938e258761a 100644--- a/docs/user-guide/work-packages/share-work-packages/README.md+++ b/docs/user-guide/work-packages/share-work-packages/README.md@@ -75,3 +75,17 @@ If you want to see all shared work packages within a specific project, navigateYou (with the correct permissions) can always change or remove sharing options.++## Configuration++Users with the edit role can update most of the attributes of a shared work package (e.g. 'Subject' and 'Description') and this includes the status. A change in status is governed by the workflows configured for the role the user has. An administrator will therefore have to setup the necessary workflows once. A message at the bottom of the screen will notify administrators of this:++++To do so, an administrator can follow the link in the message to get to the form for copying workflows. In that form, select the source type (e.g. 'Task') and source role (e.g. 'Member') to copy the workflow from. Afterwards, select the target (e.g. 'Task') and lastly the role which will be 'Work package editor' to copy the workflow for:++++You can also choose to use the workflows for the source type and role as the blueprint for multiple target types at the same time.++The copy of a workflow can later on be altered to better reflect the desired transitions between statuses for the edit role. You can also create the desired workflows from scratch.diff --git a/docs/user-guide/work-packages/share-work-packages/openproject_user_guide_sharing_configuration_example.png b/docs/user-guide/work-packages/share-work-packages/openproject_user_guide_sharing_configuration_example.pngnew file mode 100644index 00000000000..13005bd77e2Binary files /dev/null and b/docs/user-guide/work-packages/share-work-packages/openproject_user_guide_sharing_configuration_example.png differdiff --git a/docs/user-guide/work-packages/share-work-packages/openproject_user_guide_sharing_configuration_message.png b/docs/user-guide/work-packages/share-work-packages/openproject_user_guide_sharing_configuration_message.pngnew file mode 100644index 00000000000..b35dcc78812Binary files /dev/null and b/docs/user-guide/work-packages/share-work-packages/openproject_user_guide_sharing_configuration_message.png differdiff --git a/spec/features/workflows/missing_for_sharing_wp_spec.rb b/spec/features/workflows/missing_for_sharing_wp_spec.rbindex 11d0346e9cb..50805a69ed7 100644--- a/spec/features/workflows/missing_for_sharing_wp_spec.rb+++ b/spec/features/workflows/missing_for_sharing_wp_spec.rb@@ -56,10 +56,10 @@ RSpec.describe 'Configuring the workflow for work package sharing',# There is a warning bar at the bottom informing of the missing workflowwithin '.warning-bar--item' doexpect(page)- .to have_content("No workflow configured for the '#{work_package_role.name}' role. " \- "Without a workflow, the status of a shared work package cannot be changed.")+ .to have_content("No workflow is configured for the '#{work_package_role.name}' role. " \+ "Without a workflow, the shared with user cannot alter the status of the work package.")- click_link "Configure a workflow"+ click_link "Configure the workflows in the administration."end# On the copy workflow form, select the already existing workflow for copying