Content
View differences
Updated by Andrej Sandorf about 1 year ago
Currently, the single work package export uses the work package form configuration (Administration -> Work packages -> Types -> Type -> Form configuration), but not the order and attribute groups defined in there. It just lists them in a table.
Attribute group titles and Query groups are not included at all. Long text custom fields are listed below the description and not as they are configured. The `Date` field is split into Start date/End date/Duration. ID, Type and Status are included in the table.
<figure class="image image_resized op-uc-figure" style="width:566px;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/367012/content"></div><figcaption class="op-uc-figure--description">Current export</figcaption></figure>
**Acceptance criteria**
_Attributes table:_
* Follow the exact work package form configuration
* Include attribute groups title
* Follow 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 page, show a red inline message and omit it
* no borders, Capitalization (Not all-uppercase) 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
Styling:
* No borders for the attribute tables and query group tables
* Line below attribute groups title (but not Query groups)
* Capitalization (Not all-uppercase) of No uppercase labels in the attribute tables and query group table header rows
* The headline should be `Type` #`ID` - `Subject` (`Status`) and linked to the work package
* The status in the headline is a badge in the color of the status
<figure class="image image_resized op-uc-figure" style="width:419px;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/369697/content"></div><figcaption class="op-uc-figure--description">Export with query groups, group titles...</figcaption></figure>
_PDF:_
* Export option to change paper orientation (landscape, portrait), so tables with too many columns might fit.
<figure class="image image_resized op-uc-figure" style="width:395px;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/367021/content"></div><figcaption class="op-uc-figure--description">Add setting to export modal</figcaption></figure>
**Out of scope**
* Infos from the tabs (Activity, Files, Relations, Watchers, Meetings)
**PR**
https://github.com/opf/openproject/pull/18150
Attribute group titles and Query groups are not included at all. Long text custom fields are listed below the description and not as they are configured. The `Date` field is split into Start date/End date/Duration. ID, Type and Status are included in the table.
<figure class="image image_resized op-uc-figure" style="width:566px;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/367012/content"></div><figcaption class="op-uc-figure--description">Current export</figcaption></figure>
**Acceptance criteria**
_Attributes table:_
* Follow the exact work package form configuration
* Include attribute groups title
* Follow 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 page, show a red inline message and omit it
* no borders, Capitalization (Not all-uppercase)
* 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
Styling:
* No borders for the attribute tables and query group tables
* Line below attribute groups title (but not Query groups)
* Capitalization (Not all-uppercase) of
* The headline should be `Type` #`ID` - `Subject` (`Status`) and linked to the work package
* The status in the headline is a badge in the color of the status
<figure class="image image_resized op-uc-figure" style="width:419px;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/369697/content"></div><figcaption class="op-uc-figure--description">Export with query groups, group titles...</figcaption></figure>
_PDF:_
* Export option to change paper orientation (landscape, portrait), so tables with too many columns might fit.
<figure class="image image_resized op-uc-figure" style="width:395px;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/367021/content"></div><figcaption class="op-uc-figure--description">Add setting to export modal</figcaption></figure>
**Out of scope**
* Infos from the tabs (Activity, Files, Relations, Watchers, Meetings)
**PR**
https://github.com/opf/openproject/pull/18150