# Feature NEX-675 - [backport] Show project-based semantic identifiers on work package links in Nextcloud

Project: Stream Nextcloud app "OpenProject Integration"
Status: closed
URL: https://community.openproject.org/work_packages/NEX-675

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions |  Nextcloud Integration 2.12.0 |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Integrations / Nextcloud App - OpenProject integration |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| Work |  |
| Labor costs |  |

## Description

**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 &quot;old&quot; ones) are always prepended with a &quot;#&quot;
        
    *   Semantic IDs (the &quot;new&quot; ones) are shown without a &quot;#&quot;
        
*   When shown as &quot;only text&quot;, 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 &quot;preview&quot; 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_
    

**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._
