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
[#62550] Automatic subjects - User guide (#18855)
dominic-braeunlein335430f8a337
diff --git a/docs/user-guide/work-packages/README.md b/docs/user-guide/work-packages/README.mdindex 1f7d0c30272..d9e1c5883e9 100644--- a/docs/user-guide/work-packages/README.md+++ b/docs/user-guide/work-packages/README.md@@ -26,17 +26,18 @@ Work packages can be displayed in a projects timeline, e.g. as a milestone or a## Overview-| Topic | Content |-|------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------|-| [Work packages views](work-package-views) | What is the difference between the work packages views: table view, split screen view, details view? |-| [Create a work package](create-work-package) | How to create a new work package in OpenProject. |-| [Set and change dates and duration](set-change-dates) | How to set and change the start date, finish date and duration of a work package. |-| [Baseline comparison](baseline-comparison) | How to track work package changes over time. |-| [Share work packages with external users (Enterprise add-on)](share-work-packages) | How to share work package with users or group outside of your project. |-| [Edit work package](edit-work-package) | How to edit a work package in OpenProject. |-| [Duplicate, move, delete](duplicate-move-delete) | How to copy, move, delete a work package. |-| [Work package table configuration](work-package-table-configuration) | How to configure the work package table (columns, filters, group by, etc.). |-| [Export work packages](exporting) | How to export work packages for other tools such as Microsoft Excel. |-| [Work package relations and hierarchies](work-package-relations-hierarchies) | How to create work package relations and hierarchies. |+| Topic | Content |+| ------------------------------------------------------------ | :----------------------------------------------------------- |+| [Work packages views](work-package-views) | What is the difference between the work packages views: table view, split screen view, details view? |+| [Create a work package](create-work-package) | How to create a new work package in OpenProject. |+| [Set and change dates and duration](set-change-dates) | How to set and change the start date, finish date and duration of a work package. |+| [Baseline comparison](baseline-comparison) | How to track work package changes over time. |+| [Share work packages with external users (Enterprise add-on)](share-work-packages) | How to share work package with users or group outside of your project. |+| [Edit work package](edit-work-package) | How to edit a work package in OpenProject. |+| [Automatic subjects for work package (Enterprise add-on)](automatic-subjects) | How to use automatically generated work package subjects in OpenProject. |+| [Duplicate, move, delete](duplicate-move-delete) | How to copy, move, delete a work package. |+| [Work package table configuration](work-package-table-configuration) | How to configure the work package table (columns, filters, group by, etc.). |+| [Export work packages](exporting) | How to export work packages for other tools such as Microsoft Excel. |+| [Work package relations and hierarchies](work-package-relations-hierarchies) | How to create work package relations and hierarchies. |<video src="https://openproject-docs.s3.eu-central-1.amazonaws.com/videos/OpenProject-Work-Packages.mp4" type="video/mp4" controls="" style="width:100%"></video>diff --git a/docs/user-guide/work-packages/automatic-subjects/README.md b/docs/user-guide/work-packages/automatic-subjects/README.mdnew file mode 100644index 00000000000..e73978d5af9--- /dev/null+++ b/docs/user-guide/work-packages/automatic-subjects/README.md@@ -0,0 +1,92 @@+---+sidebar_navigation:+ title: Automatic subjects+ priority: 975+description: Automatic subjects for work packages+keywords: work packages subject, automatic subject, automatic work package subject+---++# Automatic subjects for work packages (Enterprise add-on)++> [!NOTE]+> Automatic subjects for work packages an Enterprise add-on and can only be used with [Enterprise cloud](../../../enterprise-guide/enterprise-cloud-guide/) or [Enterprise on-premises](../../../enterprise-guide/enterprise-on-premises-guide/). An upgrade from the free community edition is easy and helps support OpenProject.++## Introduction++Automatic subjects are predefined, dynamic titles for work packages. They help enforce consistent naming and clarity for repetitive tasks.++Administrators can enable automatic subjects per work package type by defining a subject pattern that includes static text and references attributes, such as Author, Start date, custom fields, or parent and project details. When creating a work package, its subject is automatically generated and updated according to the defined pattern.++**Examples:**++- Vacation request: `[Author] [Start date] - [Finish date]`+- Candidate interview: `[Custom Field: Candidate] with [Assignee] on [Start date]`+- Supplier invoice: `[Author] Invoice [Creation date] - [Custom Field: Invoice ID]`+++A locked subject indicates that your administrator has enforced an automatic subject pattern for that work package type (e.g. vacation requests or invoices).++> [!IMPORTANT]+> If the subject field is locked, it can also indicate that you might lack permission to edit this specific work package.++++## How to use automatic subjects++Work packages with automatic subjects function similarly to standard work packages, with two notable differences:++- Creating or editing: Enter all work package details as you normally would, with the exception of the subject field - leave it empty.+- Subject is read-only: The subject is automatically generated and cannot be manually edited.++> [!TIP]+> Any changes to work package attributes trigger an automatic update of the subject, even if the changed attribute isn't referenced in the subject pattern.++++## How attributes appear in subjects++Automatic subjects reflect actual values from attributes as configured by your admin:++- **Dates** (e.g. `[Start date]`, `[Finish date]`)+- **Users** (e.g. `[Author]`, `[Assignee]`)+- **Attributes** (e.g. `[Priority]`, `[Category]`, `[Custom Field: X]`)+- **Project details** (e.g. `[Project name]`, `[Project identifier]`)++If a referenced attribute isn't available, the subject displays **"N/A"** (see [FAQ](https://community.openproject.org/#4-faq)).++If a referenced attribute currently has no value, the subject displays **[Attribute Name]**.+++++## Automatic subject FAQs++### How is an automatic subject updated?++When attributes referenced in the subject pattern change (e.g. dates or custom fields), the subject updates automatically upon saving. No additional action is required.++### What if the subject pattern references parent or project attributes?++If your subject pattern includes attributes from a **parent work package** or the **project**, changes in those attributes don't immediately affect the child’s subject. The subject refreshes only after updating and saving the child work package. This behavior is planned to be improved in a future release.++### Why does "N/A" appear in my subject?++"N/A" indicates a referenced attribute is unavailable. Common reasons include:++- The pattern references a **parent attribute**, but no parent is assigned.++- A parent exists, but the referenced attribute **isn't** available in the parent's work package type.++- The attribute referenced **isn't activated** in the current project.++Once the attribute becomes available and is populated, updating and saving the work package automatically refreshes the subject.+++> [!TIP]+>+> **Example**: Pattern: `INVOICE: [Custom Field: Invoice ID] - [Start date]`+> If "Invoice ID" is unavailable, you’ll see `INVOICE: N/A - 2025-01-23`.++### Why does [Attribute Name] appear in subjects?++[Attribute Name] indicates the referenced attribute hasn't been filled or set yet.\ No newline at end of filediff --git a/docs/user-guide/work-packages/automatic-subjects/openproject_user_guide_work_packages_automatic_subjects_example.png b/docs/user-guide/work-packages/automatic-subjects/openproject_user_guide_work_packages_automatic_subjects_example.pngnew file mode 100644index 00000000000..d0cfd376781Binary files /dev/null and b/docs/user-guide/work-packages/automatic-subjects/openproject_user_guide_work_packages_automatic_subjects_example.png differdiff --git a/docs/user-guide/work-packages/automatic-subjects/openproject_user_guide_work_packages_automatic_subjects_example_generated.png b/docs/user-guide/work-packages/automatic-subjects/openproject_user_guide_work_packages_automatic_subjects_example_generated.pngnew file mode 100644index 00000000000..2ab457ae88aBinary files /dev/null and b/docs/user-guide/work-packages/automatic-subjects/openproject_user_guide_work_packages_automatic_subjects_example_generated.png differ