# Bug OP-19173 - User facing work package link from Github tab is not the shortened version

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-19173

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Integrations / GitHub |
| Target versions | 17.3.0 |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

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

## Description

### Steps to reproduce

1.  Go to a work package in a project that has the Github module enabled

2.  Go to the Github tab

3.  Click on "Git snippets"

4.  View the text copied from "Commit message"

### What is the buggy behavior?

  - The link at the end uses `/work_package/:id`

### What is the expected behavior?

1.  The link should use `/wp/:id` for consistency, since that's also the format of the link when clicking "Copy link to clipboard" for a WP
