Manage custom fields
You can create additional custom fields for different sections, e.g. work packages, projects, users or groups in OpenProject.
Custom fields enable to configure your OpenProject exactly to your needs, i.e. to adapt work package forms to your company specific requirements.
Este vídeo está disponible en inglés.
Add a new custom field
To create a new custom field navigate to Administration -> Custom fields and select the section for which you will create a new custom field, e.g. for work packages.
You will see the list of all the custom fields that have been created so far, divided by the section on the different tabs for which they were created.
If none have been created so far, click on the link Create a new custom field in the respective section, e.g. on the tab for work packages.
Depending on the module, for which the new custom field is being created, slightly different options may be offered. This is an example of a new custom field for a work package.
- Custom field Name, which will appear as the attribute name on the work package form.
- Choose a Format of the custom field, e.g. text, list, date, boolean. You can choose between the following formats for custom fields:
- Specify the minimal and maximal length. If a 0 is chosen, no restriction will be imposed on the length of the custom field.
- Regular expression specifying which values are allowed for the custom field.
- Default value will be used as a default value for the custom field.
- Set if the new custom field should be a required field.
- 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.
- Specify if the new custom field should be used as a filter for work packages. See here how to filter work packages.
- Specify if the new custom field should be searchable via the global search.
- Save the new custom field.
Assign a custom field to a work package type and project
Importante
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:
- Custom field has been added to the work package type (form configuration).
- Custom field is activated for the project.
Assign a custom field to a work package type (Enterprise add-on)
You can assign a custom field to a work package type (form configuration) directly via the link in the custom field overview.
Importante
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
You can activate the custom field for specific projects under the respective project settings.
Consejo
This is not relevant if the setting For all projects has been configured for the custom field.
You can active a custom field for multiple projects at once by opening the custom field in question and selecting the Projects tab. Click the Add projects button.
Use the search field to identify the projects and select multiple projects at once. You can also include the sub-projects by checking the respective option. Click the Add button to active the custom fields in all of the selected projects.
Edit or remove a custom field
To edit an existing custom field select the appropriate tab and click on the custom field name.
To 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. 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.