# Feature OP-19441 - Reference work package from git commit message (GitHub/GitLab integrations)

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-19441

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| 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 / GitHub, Integrations / GitLab |
| 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 |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work | 30d 0h |
| Labor costs |  |

## Description

**As** a software developer  
**I want to** reference a work package in a Git commit message  
**so that** I can establish a relationship between a git commit and a work package

**Acceptance criteria**

  - When a git commit contains a link/reference to a work package that commit will get listed in the **GitHub**/**GitLab** tabs of a work package
    
      - There is a section "Commits" (just like currently "PULL REQUESTS"
    
      - Every commit referencing this work package gets listed
        
          - Hash with a link to GitHub/GitLab's commit page.
        
          - Commit message

  - A journal entry is added to the work package **Activity**

**Technical notes**

  - 
    <br>

**Permissions and visibility considerations**

  - 
    <br>

**Translation considerations**

  - 
    <br>

**Out of scope**

  - The link gets removed whenever a commit get amended or removed from a branch etc. That is not how Git works. Git keeps commits in the reflog.

*Set the* **To be informed/consulted teams** *field to include all teams necessary to be informed of the changes.*
