Page MenuHomePhabricator

Support exporting custom "Options/Select" fields to Excel/JSON/CSV/etc
ClosedPublic

Authored by epriestley on Mar 22 2019, 11:01 PM.
Tags
None
Referenced Files
F13321312: D20316.diff
Fri, Jun 14, 6:43 AM
F13295730: D20316.diff
Thu, Jun 6, 7:30 AM
F13286251: D20316.diff
Tue, Jun 4, 6:53 AM
F13278662: D20316.id48470.diff
Sat, Jun 1, 1:49 AM
F13276220: D20316.diff
Fri, May 31, 5:42 AM
F13273147: D20316.diff
Fri, May 31, 1:37 AM
F13230875: D20316.diff
Mon, May 20, 11:23 PM
F13227068: D20316.id48492.diff
Mon, May 20, 1:09 AM
Subscribers
None

Details

Summary

See https://discourse.phabricator-community.org/t/exporting-custom-select-fields-as-part-of-query-exports/2466/.

In JSON, export both the internal key and the visible value. For other formats, export the visible label.

Test Plan
  • Added a custom options/select field.
  • Exported CSV, JSON, Text, got sensible output.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable