# Bug OP-7564 - Link to a particular activity doesn't work

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 11.0.0 |
| Observed in versions | 10.6.0 |
| Sprint | 11.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 10.6.x |
| 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 |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### **Environment**:

Your OpenProject Version: 10.6.5

Operating System / Browser / Language: Windows 10 pro version 1903 64-bit / Google Chrome 85.0.4183.83 64-bit / English

### **Logs**

Chrome reports some errors in the console though they seem unrelated to this bug:

![https://cdnp.hubspot.net/hubfs/5842801/email-media/c0656db2535386047db1b35b814e9f6d/5db457c313b8e14cf72dc75fef6a996e/console.png?Expires=1599755848&Signature=PzKnOQW7AYS6FeRZVRBQkj4v0KN0-5D0bMHJF23V-~RWG5PfGN5TqmeVX~gfdGPLMAtqghUOIDxFAIc~YE~eNN6faapp8lAi~qMydO0b0YleoINjhWR7UJamxclVd05Z6fwjd06gw8bOjfaE-a7fhRHcLI3ZfaWPuqX00eNaDF1rLll~MnhEuynTZrjJGmItYBRxJE~ody6jRzPVK2OE4CV8zW6xZsUYaEcJiyBNJ1LrWA0EiDBRPxYRJUBeiPTgObvXhqDCTUh6UhqyM~yVQwjpMOngP~l~HToP520IKZimRkF-hHxsh9Aec7CQp7qqJufeva~NcY6x2mGEIO7hcw__&Key-Pair-Id=APKAJDNICOKANPHVCSBQ](https://cdnp.hubspot.net/hubfs/5842801/email-media/c0656db2535386047db1b35b814e9f6d/5db457c313b8e14cf72dc75fef6a996e/console.png?Expires=1599755848&Signature=PzKnOQW7AYS6FeRZVRBQkj4v0KN0-5D0bMHJF23V-~RWG5PfGN5TqmeVX~gfdGPLMAtqghUOIDxFAIc~YE~eNN6faapp8lAi~qMydO0b0YleoINjhWR7UJamxclVd05Z6fwjd06gw8bOjfaE-a7fhRHcLI3ZfaWPuqX00eNaDF1rLll~MnhEuynTZrjJGmItYBRxJE~ody6jRzPVK2OE4CV8zW6xZsUYaEcJiyBNJ1LrWA0EiDBRPxYRJUBeiPTgObvXhqDCTUh6UhqyM~yVQwjpMOngP~l~HToP520IKZimRkF-hHxsh9Aec7CQp7qqJufeva~NcY6x2mGEIO7hcw__&Key-Pair-Id=APKAJDNICOKANPHVCSBQ)

### **Steps to reproduce:**

1.  Go to some work package that has more activities than one screen can fit.
2.  Scroll down the activities and copy a link to some activity that does not appear on the initial view of the work package - you get a link that looks as follows: [https://your.openproject.server/projects/your\_project/work\_packages/174/activity?query\_id=29#activity-9](https://your.openproject.server/projects/your_project/work_packages/174/activity?query_id=29#activity-9)
3.  Open a new browser tab and go to the URL copied at step 2.

### **Actual Behavior**

The initial work package view is displayed i.e. the application does not scroll down the activities automatically to the activity specified by the URL - e.g. **activity-9** in the Steps to Reproduce.

### **Expected Behavior**

The application should display the work package and scroll down the activities automatically to the activity specified by the URL - e.g. **activity-9** in the Steps to Reproduce.

Note that a similar feature works perfectly in Redmine and it is very helpful when it is necessary to refer to a specific comment in a long discussion.
