# Bug OP-20012 - XLS export produces cells with General type.

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Export / XLS Export |
| Target versions | 18.0.0 |
| Observed in versions | 17.4.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.4.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

### Steps to reproduce

1.  Login as a user with permissions to view WPs in project

2.  Go to the WPs page

3.  Click on menu → "Export" → "XLS"

4.  Add Done and Work attributes to export.

5.  Export WPs and open XLS file in excel/calc. 

### What is the buggy behavior?

All cells are Generic format.

### What is the expected behavior?

Cells of Int, Float, Date, Time, Text have the appropriate format in XLS spreadsheet.

### Important note

**CSV, PDF and Markdown exports are unchanged.** Only the XLS export is affected.

#### Work package columns

<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table">
<thead class="op-uc-table--head"><tr class="op-uc-table--row">
<th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Column</p></th>
<th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Value</p></th>
<th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Before (text cell)</p></th>
<th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">After (typed cell)</p></th>
<th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Cell format</p></th>
</tr></thead>
<tbody>
<tr class="op-uc-table--row">
<td class="op-uc-table--cell"><p class="op-uc-p">Start date, Finish date</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">2026-08-24</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">08/24/2026</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">2026-08-24</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">date, <code class="op-uc-code">yyyy-mm-dd</code></p></td>
</tr>
<tr class="op-uc-table--row">
<td class="op-uc-table--cell"><p class="op-uc-p">Created on, Updated on</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">2026-08-24 13:50</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">08/24/2026 01:50 PM</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">2026-08-24 13:50</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">date-time, <code class="op-uc-code">yyyy-mm-dd hh:mm</code></p></td>
</tr>
<tr class="op-uc-table--row">
<td class="op-uc-table--cell"><p class="op-uc-p">Duration</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">7</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">7</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">7 d</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">number, <code class="op-uc-code">0 "d"</code></p></td>
</tr>
<tr class="op-uc-table--row">
<td class="op-uc-table--cell"><p class="op-uc-p">Story points</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">5</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">5</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">5</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">number, <code class="op-uc-code">0</code></p></td>
</tr>
<tr class="op-uc-table--row">
<td class="op-uc-table--cell"><p class="op-uc-p">ID (classic identifiers)</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">42</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">42</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">42</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">number, <code class="op-uc-code">0</code></p></td>
</tr>
<tr class="op-uc-table--row">
<td class="op-uc-table--cell"><p class="op-uc-p">ID (semantic identifiers)</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">PROJ-42</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">PROJ-42</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">PROJ-42</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">text</p></td>
</tr>
<tr class="op-uc-table--row">
<td class="op-uc-table--cell"><p class="op-uc-p">Labor / Material / Overall costs</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">1234.5</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">1234.5</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">1,234.50 €</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">number, <code class="op-uc-code">#,##0.00 [$€]</code></p></td>
</tr>
<tr class="op-uc-table--row">
<td class="op-uc-table--cell"><p class="op-uc-p">Schedule manually, Ignore non-working days</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">true</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">true</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">TRUE</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">boolean</p></td>
</tr>
<tr class="op-uc-table--row">
<td class="op-uc-table--cell"><p class="op-uc-p">% Complete, Total % complete</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">25</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">25%</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">25%</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">number, <code class="op-uc-code">0%</code> (unchanged)</p></td>
</tr>
<tr class="op-uc-table--row">
<td class="op-uc-table--cell"><p class="op-uc-p">Work, Remaining work, Spent time</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">10.0</p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">10.00 h</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">10.00 h</code></p></td>
<td class="op-uc-table--cell"><p class="op-uc-p">number, <code class="op-uc-code">0.00 "h"</code> (unchanged)</p></td>
</tr>
</tbody>
</table></figure>

#### Project columns

<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><thead class="op-uc-table--head"><tr class="op-uc-table--row"><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Column</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Value</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Before (text cell)</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">After (typed cell)</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Cell format</p></th></tr></thead><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">ID</p></td><td class="op-uc-table--cell"><p class="op-uc-p">42</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">42</code></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">42</code></p></td><td class="op-uc-table--cell"><p class="op-uc-p">number, <code class="op-uc-code">0</code></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Created on, Updated on</p></td><td class="op-uc-table--cell"><p class="op-uc-p">2026-08-24 13:50</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">08/24/2026 01:50 PM</code></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">2026-08-24 13:50</code></p></td><td class="op-uc-table--cell"><p class="op-uc-p">date-time, <code class="op-uc-code">yyyy-mm-dd hh:mm</code></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Public, Active, Template</p></td><td class="op-uc-table--cell"><p class="op-uc-p">true</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">true</code></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">TRUE</code></p></td><td class="op-uc-table--cell"><p class="op-uc-p">boolean</p></td></tr></tbody></table></figure>

#### Custom field columns

Applies to both work package and project exports.

<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><thead class="op-uc-table--head"><tr class="op-uc-table--row"><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Field format</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Value</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Before (text cell)</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">After (typed cell)</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Cell format</p></th></tr></thead><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Integer</p></td><td class="op-uc-table--cell"><p class="op-uc-p">42</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">42</code></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">42</code></p></td><td class="op-uc-table--cell"><p class="op-uc-p">number, <code class="op-uc-code">0</code></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Float</p></td><td class="op-uc-table--cell"><p class="op-uc-p">1234.5</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">1234.5</code></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">1234.50</code></p></td><td class="op-uc-table--cell"><p class="op-uc-p">number, <code class="op-uc-code">0.00</code></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Date</p></td><td class="op-uc-table--cell"><p class="op-uc-p">2026-10-05</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">10/05/2026</code></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">2026-10-05</code></p></td><td class="op-uc-table--cell"><p class="op-uc-p">date, <code class="op-uc-code">yyyy-mm-dd</code></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Calculated value (projects)</p></td><td class="op-uc-table--cell"><p class="op-uc-p">4.0</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">4.0</code></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">4.00</code></p></td><td class="op-uc-table--cell"><p class="op-uc-p">number, <code class="op-uc-code">0.00</code></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Boolean</p></td><td class="op-uc-table--cell"><p class="op-uc-p">true</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">true</code></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><code class="op-uc-code">TRUE</code></p></td><td class="op-uc-table--cell"><p class="op-uc-p">boolean</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">List, Text, Link, Hierarchy, User, Version</p></td><td class="op-uc-table--cell"><p class="op-uc-p">-</p></td><td class="op-uc-table--cell"><p class="op-uc-p">unchanged</p></td><td class="op-uc-table--cell"><p class="op-uc-p">unchanged</p></td><td class="op-uc-table--cell"><p class="op-uc-p">text</p></td></tr></tbody></table></figure>

A multi-value field in a typed format keeps the old text output, since a list of values is not one cell value.

**OpenProject installation type**

  - Docker-compose installation

**OpenProject version**

*16.2, 16.6, 17.4, development branch*
