# Bug RESMA-98 -  User timeline in a project planner does not show the project of allocations from other projects

Project: Stream Resource Management
Status: closed
URL: https://community.openproject.org/work_packages/RESMA-98

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Resource management |
| Target versions | 18.0.0 |
| Observed in versions | 18.0.0 |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Klaus Zanders |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

**Summary**

In a project resource planner, the user timeline shows each user's allocations across all their projects. Bars of allocations in other projects show no project name, so they cannot be told apart from allocations in the current project.

**Steps to reproduce**

1. User A is a member of projects "Alpha" and "Moonshot" and can see both.
2. User B is allocated to a work package in "Alpha" and to a work package in "Moonshot".
3. As user A, open a resource planner in "Alpha" with a user timeline view that includes user B.
4. Look at user B's allocation bars.

**Actual behavior**

Both bars show only the hours and the work package subject. The "Moonshot" bar does not show its project, neither on the bar nor in the tooltip.

**Expected behavior**

- The bar of the "Moonshot" allocation shows "Moonshot", and its tooltip reads "Moonshot - <subject>".
- Bars of allocations in "Alpha" (the current project) show no project name.
- The project name is shown if user A can see the project, even if the work package itself is not visible to them. The subject stays hidden in that case.
- The project name is not shown if user A cannot see the project.

**Additional context**

Global planners already show the project name on every bar.
