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
[#59798] 15.1 Documentation: Multi-level selection fields to support … (#17379)
Maya Berdygylyjovaaf688dd25986
diff --git a/docs/system-admin-guide/custom-fields/README.md b/docs/system-admin-guide/custom-fields/README.mdindex 2c21ef1c9cf..334519ad7d6 100644--- a/docs/system-admin-guide/custom-fields/README.md+++ b/docs/system-admin-guide/custom-fields/README.md@@ -28,23 +28,94 @@ Depending on the module, for which the new custom field is being created, sligh1. Custom field **Name**, which will appear as the attribute name on the work package form.-2. Choose a **Format** of the custom field, e.g. text, list, date, boolean. You can choose between the following formats for custom fields:+2. Choose a **Format** of the custom field, e.g. text, list, date, boolean. In this example the format *Text* is selected.-+> [!TIP]+> Depending on the format of the custom field, the fields to specify vary.+4. Specify the **minimal and maximal length**. If a 0 is chosen, no restriction will be imposed on the length of the custom field.+5. **Regular expression** specifying which values are allowed for the custom field.+6. **Default value** will be used as a default value for the custom field.+7. Set if the new custom field should be a **required** field.+8. Specify if the new custom field should be **used for all projects**. This means the custom field will be active for all projects and does not need to be activated separately per project.+9. Specify if the new custom field should be **used as a filter for work packages**. See [here](../../user-guide/work-packages/work-package-table-configuration/#filter-work-packages) how to filter work packages.+10. Specify if the new custom field should be **searchable** via the global search.+11. **Save** the new custom field.++## Custom field formats++There are multiple format options for custom fields in OpenProject. You can select one of the following formats:+- **Text custom field** - creates a custom field in text format with the specified length restrictions.+- **Long text custom field** - creates a custom field for cases where longer text needs to entered.+- **Link (URL) custom field** - creates a custom field for URLs.+- **Integer custom field** - creates a custom field for integers.+- **Float custom field** - creates a custom field for rational numbers.+- **List custom field** - creates a custom field with flat list options.+- **Date custom field** - creates a custom field, which allows selecting dates from a date picker.+- **Boolean custom field** - creates a custom field for an attribute, that is either true or false. It is represented by a checkbox that can be checked or unchecked.+- **User custom field** - creates a custom field, which allows selecting users that are allowed to access the entity containing the custom field.+- **Version custom field** - creates a custom field, which allows selecting one or multiple versions. Versions are created on the project level in *Backlogs* module.+- **Hierarchy custom field (Enterprise add-on)** - see more in the section below.++### Hierarchy custom field (Enterprise add-on)++> [!NOTE]+> Custom fields with type Hierarchy are an Enterprise add-on. Click here for more information on the [OpenProject Enterprise edition](https://www.openproject.org/enterprise-edition/).++Hierarchy custom fields allow organizing hierarchical structures in work packages by making use of multi-level select lists. To create a custom field of type Hierarchy follow the same steps as you would when [creating a standard custom field](#add-a-new-custom-field) and select **Hierarchy** format. You can then name the custom field, allow multi-select, specify if it should be a required field or used as a filter, and activate it for all projects. Click the **Save** button to proceed.++++You will then see the list of all existing custom fields. Click on the name of the custom field you created to edit it, specify selectable items and assign it to projects.++++You can edit the name and initial settings under the *Details* tab.++++Under the *Items* tab you can specify which hierarchy items should be selectable for this specific custom field. Initially the list of items will be empty.To add items, click the **+Item** button.++++You can then specify labels and short names for each of the items you want to add. The short name can be used e.g. for an abbreviation of a name or another associated short description. The short name will be displayed next to the item label in brackets.++++All items you add here will constitute one hierarchical level. You can add further levels to each of the items. Here you can edit the items, change the position in the list or delete the items. To do that click the icon with the three dots on the far right and select the respective option. You can also re-arrange the items by dragging and dropping.++++You can add further hierarchical levels by clicking on the name of the item and adding the items same way you did on the first level. Once you do that, the number of sub-items will be displayed on the higher hierarchy level.++++++You can add as many sub-times and hierarchy levels as you need. You can always navigate to the level you need by clicking the respective option from the hierarchy path displayed above the items.-3. Specify the **minimal and maximal length**. If a 0 is chosen, no restriction will be imposed on the length of the custom field.-4. **Regular expression** specifying which values are allowed for the custom field.-5. **Default value** will be used as a default value for the custom field.-6. Set if the new custom field should be a **required** field.-7. Specify if the new custom field should be **used for all projects**. This means the custom field will be active for all projects and does not need to be activated separately per project.-8. Specify if the new custom field should be **used as a filter for work packages**. See [here](../../user-guide/work-packages/work-package-table-configuration/#filter-work-packages) how to filter work packages.-9. Specify if the new custom field should be **searchable** via the global search.-10. **Save** the new custom field.+++Once you have specified all items for the hierarchy custom field, you need to:++1. [Activate this custom field for projects under the *Projects* tab](#add-a-custom-field-to-one-or-multiple-projects)+2. [Assign a custom field to a work package type](../manage-work-packages/work-package-types/#work-package-form-configuration-enterprise-add-on)+++## Create a multi-select custom field++For work package custom fields of type **List**, **User**, **Version** and **Hierarchy** you may also select **multi-select custom fields** to select more than one value at once.++To create a multi-select custom field follow the same steps as you would when [creating a standard custom field](#add-a-new-custom-field). Select format **List**, **User**, **Version** or **Hierarchy **and check the option *Allow multi-select*.++++When using multi-select custom fields, you can add as many options as required. The cross icon next to an option will remove it from the selection. The check mark will save your changes.++## Assign a custom field to a work package type and project> [!IMPORTANT]->> Custom fields need to be activated per work package type and added to a project. Work package custom fields are only visible when two conditions are met:>> 1. Custom field has been added to the work package type (form configuration).@@ -57,7 +128,6 @@ You can [assign a custom field to a work package type](../manage-work-packages/w> [!IMPORTANT]->> Starting with OpenProject 15.0, when adding new custom fields to a type through the form configuration, the added custom fields will not automatically be enabled in all projects that have this work package type currently enabled.### Add a custom field to one or multiple projects@@ -80,16 +150,4 @@ To **edit an existing custom field** select the appropriate tab and click on theTo **delete** a custom field, click on the delete icon next to the respective custom field in the list.---## Create a multi-select custom field--For work package custom fields of type **List** and **User** you may also select **multi-select custom fields** to select more than one value at once.--To create a multi-select custom field follow the same steps as you would when [creating a standard custom field](#add-a-new-custom-field). Select format **List, User or Version** and check the option *Allow multi-select*.----When using multi-select custom fields, you can add as many options as required. The cross icon next to an option will remove it from the selection. The check mark will save your changes.--+\ No newline at end of filediff --git a/docs/system-admin-guide/custom-fields/openproject_system_guide_custom_field_new_hierarchy_subitems.png b/docs/system-admin-guide/custom-fields/openproject_system_guide_custom_field_new_hierarchy_subitems.pngnew file mode 100644index 00000000000..f19ff4cbfcfBinary files /dev/null and b/docs/system-admin-guide/custom-fields/openproject_system_guide_custom_field_new_hierarchy_subitems.png differdiff --git a/docs/system-admin-guide/custom-fields/openproject_system_guide_custom_fields_list.png b/docs/system-admin-guide/custom-fields/openproject_system_guide_custom_fields_list.pngnew file mode 100644index 00000000000..a6f59cec00bBinary files /dev/null and b/docs/system-admin-guide/custom-fields/openproject_system_guide_custom_fields_list.png differdiff --git a/docs/system-admin-guide/custom-fields/openproject_system_guide_hierarchy_field_add_further_levels.png b/docs/system-admin-guide/custom-fields/openproject_system_guide_hierarchy_field_add_further_levels.pngnew file mode 100644index 00000000000..4d082f37ed3Binary files /dev/null and b/docs/system-admin-guide/custom-fields/openproject_system_guide_hierarchy_field_add_further_levels.png differdiff --git a/docs/system-admin-guide/custom-fields/openproject_system_guide_hierarchy_field_add_item_button.png b/docs/system-admin-guide/custom-fields/openproject_system_guide_hierarchy_field_add_item_button.pngnew file mode 100644index 00000000000..d2530838be8Binary files /dev/null and b/docs/system-admin-guide/custom-fields/openproject_system_guide_hierarchy_field_add_item_button.png differdiff --git a/docs/system-admin-guide/custom-fields/openproject_system_guide_hierarchy_field_add_item_form.png b/docs/system-admin-guide/custom-fields/openproject_system_guide_hierarchy_field_add_item_form.pngnew file mode 100644index 00000000000..e75a154f97fBinary files /dev/null and b/docs/system-admin-guide/custom-fields/openproject_system_guide_hierarchy_field_add_item_form.png differdiff --git a/docs/system-admin-guide/custom-fields/openproject_system_guide_hierarchy_field_edit_items.png b/docs/system-admin-guide/custom-fields/openproject_system_guide_hierarchy_field_edit_items.pngnew file mode 100644index 00000000000..7b575549c00Binary files /dev/null and b/docs/system-admin-guide/custom-fields/openproject_system_guide_hierarchy_field_edit_items.png differdiff --git a/docs/system-admin-guide/custom-fields/openproject_system_guide_new_custom_field_formats.png b/docs/system-admin-guide/custom-fields/openproject_system_guide_new_custom_field_formats.pngnew file mode 100644index 00000000000..b40e6dd463fBinary files /dev/null and b/docs/system-admin-guide/custom-fields/openproject_system_guide_new_custom_field_formats.png differdiff --git a/docs/system-admin-guide/custom-fields/openproject_system_guide_new_custom_field_new_hierarchy.png b/docs/system-admin-guide/custom-fields/openproject_system_guide_new_custom_field_new_hierarchy.pngnew file mode 100644index 00000000000..7b44986f6cbBinary files /dev/null and b/docs/system-admin-guide/custom-fields/openproject_system_guide_new_custom_field_new_hierarchy.png differdiff --git a/docs/system-admin-guide/custom-fields/openproject_system_guide_new_custom_field_path.png b/docs/system-admin-guide/custom-fields/openproject_system_guide_new_custom_field_path.pngnew file mode 100644index 00000000000..cd859fc75a7Binary files /dev/null and b/docs/system-admin-guide/custom-fields/openproject_system_guide_new_custom_field_path.png differdiff --git a/docs/system-admin-guide/custom-fields/openproject_system_guide_new_custom_hierarchy_details_tab.png b/docs/system-admin-guide/custom-fields/openproject_system_guide_new_custom_hierarchy_details_tab.pngnew file mode 100644index 00000000000..0c4df8063ecBinary files /dev/null and b/docs/system-admin-guide/custom-fields/openproject_system_guide_new_custom_hierarchy_details_tab.png differdiff --git a/docs/system-admin-guide/custom-fields/system-admin-allow-multi-select.png b/docs/system-admin-guide/custom-fields/system-admin-allow-multi-select.pngindex aae0d3f5270..40294e591f4 100644Binary files a/docs/system-admin-guide/custom-fields/system-admin-allow-multi-select.png and b/docs/system-admin-guide/custom-fields/system-admin-allow-multi-select.png differ