Content
View differences
Updated by Judith Roth 12 days ago
**As** a user using Nextcloud and OpenProject
**I want to** see semantic identifiers when I use work package links in Nextcloud notes
**so that** I see the same identifiers in nextcloud as in the OpenProject instance which is connected.
**Acceptance criteria**
* The nextcloud work package links show the semantic identifiers if the instance is set to use project-based semantic work package identifiers (and numeric IDs otherwise)
* Numeric IDs (the "old" ones) are always prepended with a "#"
* Semantic IDs (the "new" ones) are shown without a "#"
* When shown as "only text", the link which is shown should contain the semantic ID instead of the numeric ID
* However, the URL when clicked should use the numeric ID (this uses the `/wp` route, which will redirect to the latest identifiers. Since it will be possible to delete old project identifiers in the future, and the work package identifiers are based on that, the numeric link will always work while the semantic link could stop working)
* The "preview" on click on the URL should also show the correct ID
**Technical notes**
* The API workpackages endpoint contains a new field `display_id`, which contains either the ID or the semantic ID, based on the setting of the instance. This needs to be shown instead of the ID.
* Searching for semantic identifiers already works.
**Permissions and visibility considerations**
* _No changes_ _To whom is this feature visible?_
* _When is it not visible?_
**Translation considerations**
* _No changes_ _Key terms and phrases in the key languages_
**Out of scope**
* <br>
**Screenshots**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/921958/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/921960/content">
_Set the_ **To be informed/consulted teams** _field to include all teams necessary to be informed of the changes._
**I want to** see semantic identifiers when I use work package links in Nextcloud notes
**so that** I see the same identifiers in nextcloud as in the OpenProject instance which is connected.
**Acceptance criteria**
* The nextcloud work package links show the semantic identifiers if the instance is set to use project-based semantic work package identifiers (and numeric IDs otherwise)
* When shown as "only text", the link which is shown should contain the semantic ID instead of the numeric ID
* However, the URL when clicked should use the numeric ID (this uses the `/wp` route, which will redirect to the latest identifiers. Since it will be possible to delete old project identifiers in the future, and the work package identifiers are based on that, the numeric link will always work while the semantic link could stop working)
* The "preview" on click on the URL should also show the correct ID
* The API workpackages endpoint contains a new field `display_id`, which contains either the ID or the semantic ID, based on the setting of the instance. This needs to be shown instead of the ID.
* Searching for semantic identifiers already works.
**Permissions and visibility considerations**
* _No changes_
* _When is it not visible?_
**Translation considerations**
* _No changes_
**Out of scope**
* <br>
**Screenshots**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/921958/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/921960/content">
_Set the_ **To be informed/consulted teams** _field to include all teams necessary to be informed of the changes._