Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.2.0, 7.4.0, 7.2.10, 8.13.4, 9.4.8
-
7.02
-
9
-
Severity 3 - Minor
-
1
-
Description
Summary
CSV > Current Fields export is omitting headers for some system and custom field types if there's no data for those fields in the JQL query. This occurs with different custom fields type such as Label, Checkbox, or Select List (multiple choices). It was also noticed with the Development and Parent Link, and the system field Components. For all other custom field types, the headers are included in the CSV export, even if there's no data included for these fields in the JQL query we're exporting from.
Environment
Reproduced on JIRA 7.2.8 & 7.2.10 & 9.4.8
Steps to Reproduce
- Add a custom field of type Label, Checkbox or Select List (multiple choices) to JIRA.
- In Issue Navigator, in List View, add a column for the custom field. Do not populate this data for any issues.
- Export > CSV (Current fields)
- Observe that the custom field is omitted from the export
- Repeat for any other custom field type except the three called out above.
Expected Results
Though not populated, the custom field header should be exported in the CSV as it is with other custom field types. Additionally, it's expected that the columns exported in the CSV should match the columns visible in the UI.
Actual Results
If no data for these three custom field types exists in the JQL results, headers are omitted from the export. If even a single issue has the field populated, the header is included in the export.
Notes
Reports that rely on this export as a data source may break if expected headers aren't present.
Workaround
No workaround has been identified.