# Feature COMMS-627 - Resolve old project identifiers to current ones after renames

Project: Stream Communicator
Status: closed
URL: https://community.openproject.org/work_packages/COMMS-627

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions |  |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

| ID | Subject | Type | Status | Assignee | Target versions | Spent time |
| --- | --- | --- | --- | --- | --- | --- |
| COMMS-667 | Save the previous value when a project identifier changes | Implementation | closed |  | 17.3.0 |  |
| COMMS-668 | Redirect routes with old project identifiers | Implementation | rejected | Judith Roth | 17.3.0 |  |

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

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

## People

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

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a project admin  
**I want to** be able to change a project's identifier without invalidating old links  
**so that** I can change (e.g. shorten) them for usage in project-based semantic work package identifiers

**Acceptance criteria**

  - When a project identifier is changed, the old project identifier will still redirect to the project (as well as the new one)

  - A project identifier that was used once can only be reused in the same project in which it was used first

**Technical notes**

  - <https://excalidraw.com/#room=87a9e3fee5893ce524af,ztD0VCk8dOQOpx8GFWoVZA>

  - We need a new join table for project identifiers

  - We need a separate table to connect project based sequence numbers with actual work packages (columns `project_id`, `sequence_number`, `work_package_id`) and probably do it in this ticket to get it done earlier

**Out of Scope**

  - Allow to search by a project's identifier
    
      - global search
    
      - project selector
    
      - project filter (include projects)

**Permissions and visibility considerations**

  - Nothing changes here. Everyone who was allowed / disallowed to change project identifiers is still allowed / disallowed to change project identifiers
