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
F15389226: D20316.diff
Sat, Mar 15, 5:00 AM
F15378860: D20316.id.diff
Thu, Mar 13, 5:23 PM
F15317470: D20316.id48470.diff
Thu, Mar 6, 7:34 PM
Unknown Object (File)
Mon, Mar 3, 6:32 AM
Unknown Object (File)
Mon, Mar 3, 6:32 AM
Unknown Object (File)
Mon, Mar 3, 6:32 AM
Unknown Object (File)
Tue, Feb 25, 4:55 PM
Unknown Object (File)
Mon, Feb 24, 2:33 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