# Feature SPPM-150 - Turn gates into property of phase (rename life cycle elements to "Phase" and "Phase gates")

Project: Stream Project Portfolio Management
Status: closed
URL: https://community.openproject.org/work_packages/SPPM-150

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 16.1.0 |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Use cases

_No work packages_

## Features and Chunks

| ID | Subject | Type | Status | Assignee | Target versions | Spent time |
| --- | --- | --- | --- | --- | --- | --- |
| SPPM-157 | Add hovercard to gates | Feature | closed |  | 16.1.0 |  |
| SPPM-158 | Rename end_date to finish_date | Implementation | closed |  |  |  |
| SPPM-160 | Use Project::LifeCycleComponent on project and global administration | Implementation | closed |  | 16.1.0 |  |
| SPPM-161 | rename i18n keys to no longer use life_cycle | Implementation | specified | Jens Ulferts |  |  |
| SPPM-162 | rename constants/modules to no longer use life cycle (unless appropriate) | Implementation | rejected | Attila Dombi | 16.2.0 |  |
| SPPM-163 | Add feature spec for adding gates to phase in global administration | Implementation | closed |  | 16.2.0 |  |

## Bugs and other work packages

_No work packages_

## Technical Details

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

## Details

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

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers | Jens Ulferts |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

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

## Description

**As** a project manager and project portfolio manager  
**I want to** have a terminology in OpenProject which maps to my existing training in project management (PM2, PMflex)  
**so that** I easily get familiar with adapting OpenProject in my projects.

**As** a project portfolio manager  
**I want to** have gates be a property of a phase  
**so that** I have an easier time managing them.

**Acceptance criteria**

  - General:
    
      - Gates are no longer a separate entity but a property of a phase.
        
          - For now, phases can be configured to have a gate at the end. A name can be assigned to that gate that is independent of the phase name.
        
          - Phases were named stages before. This is to be changed throughout the application. Gates are to be called "Phase gates".
            
              - Technical: The change in name it reflected throughout the code base.
        
          - The icons uses to visualize gates (and phase gates) is changed according to the figma file.
        
          - Phases can have up to two gates. One at the start and one at the end.

  - Global administration:
    
      - The edit page of a phase has a boolean for activating the phase gate and an input for the name of the gate.
    
      - The index page of the global administration shows the gates as a property of the phase.

  - Project administration:
    
      - The project administration displays the gates as a property of the phase. The activation state of a gate is therefore always toggled together with its phase.
        
          - When hovering over the icon, a hover card is displayed showing the name and the date of the gate.

  - Project list:
    
      - Filters:
        
          - The filters on lifecycle elements need to be adapted but the functionality of the filters remains the same.
    
      - Columns:
        
          - Gates are no longer separate columns. Instead, the column for a phase shows the gate as well.
            
              - When hovering over the icon, a hover card is displayed showing the name and the date of the gate.

  - Project overview:
    
      - In the sidebar, the phases are listed (icon changes?)
    
      - Gates are symbolized by an icon next to the phase dates.
        
          - When hovering over the icon, a hover card is displayed showing the name and the date of the gate.

  - Seeding:
    
      - The seed data following PM2 is adapted so that the gates are now properties of the phases.
        
          - The work package type currently called "Phase" is renamed in the seed data according to the table in the "Translation considerations" section.

  - Migration:
    
      - Existing life cycle data is not migrated but removed instead. This includes step definitions, steps in projects, the journals connected to this and project queries referencing those steps.

  - Journalization
    
      - The journalization would change and become simpler. This will be implemented following: <mention class="mention" data-id="59178" data-type="work_package" data-text="###59178">###59178</mention>.

**Out of scope**

  - There is migration changing the work package type "Phase" to "Summary task"

**Translation considerations**

<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><thead class="op-uc-table--head"><tr class="op-uc-table--row"><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Current</p></th><th class="op-uc-table--cell op-uc-table--cell_head" style="text-align:center;" colspan="5"><p class="op-uc-p">New</p></th></tr></thead><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><br></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>EN</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>FR</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>DE</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>ES</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>IT</strong></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Stage</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Phase</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Phase</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Phase</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Fase</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Fase</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Gate</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Phase gate</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Point de contrôle</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Phasenübergang</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Puertas de Fase</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Passaggio di fase</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><strong>Work package types in seed data</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Phase</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Summary task</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Tâche récapitulative</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Sammelvorgang</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Tarea de resumen</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Attività di riepilogo</p></td></tr></tbody></table></figure>

**Figma link**

<https://www.figma.com/design/4Z950sfYbceOqUN6sFV7Mr/Project-Portfolios%3A-Stages-and-Gates?node-id=2241-25240&amp;p=f&amp;t=KDojqVwe6z9BG8Ze-0>
