# Feature OP-15636 - Cost and Time - Add a macro to insert a cost+time report in workpackage description

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

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 1 |
| 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 |  |
| Feature Flag |  |
| Requires doc change | No |
| 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 |  |
| Labor costs |  |

## Description

**As** a Open Project admin/user  
**I want to** be able to display a cost+time report on a work\_package description using a macro/link to ressource  
**so that**

1.  &nbsp;I can avoid exporting a cost report in excel and then copy-paste the table into the work package manually 
    
2.  We always have up to date information on the cost report in the work package (single source of trust)
    
3.  We can use this feature to report cost to our customers more efficiently
    

**Acceptance criteria**

*   Be able to choose a Cost Report by ID in the macro. I.e: `#costReport:1234`
    
*   Be able to select which column to display on the time/cost report when no grouping is made (maybe this is out of scope here but may be usefull, more to do directly with cost report tho)
    
*   TBD 
    

Example :

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/137456/content">
