# Feature OP-16814 - PDF export of a multiple work package follows work package form configuration including related wp tables

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

## 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 | Modules and project features / Export / PDF Export |
| 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 |  |
| Labor costs |  |

## Description

**As** a user exporting a query to a PDF report  
**I want to** be able to have the same export format as I do for a single work package PDF ("Attributes and description")  
**so that** export many work packages in the same format

**Acceptance criteria**

  - An option in the export modal to follow the work package form configuration instead of choosing columns and long text fields

  - If activated, follow the exact work package form configuration
    
      - Include attribute groups title
    
      - Follow the order of groups and attributes
    
      - Include Query groups (related wp tables)  
        If there are none work packages, a "\[No work packages\]" message will be displayed instead
        
        If a Query group table does not fit on the page, show a red inline message and omit it
    
      - no borders, no uppercase letters in the header row
    
      - Include Long text custom fields (at their configured position)
    
      - The `Date` field is displayed as in the web (not split)
    
      - Remove ID, Type or Status from the attribute tables

**Technical notes**

  - This is applying the same code as for <mention class="mention" data-id="61446" data-type="work_package" data-text="#61446">\#61446</mention> 

**Permissions and visibility considerations**

  - *All users who are allowed to export (same as before)*

**Translation considerations**

  - *none*

**Out of scope**

  - Infos from the tabs (Activity, Files, Relations, Watchers, Meetings)
