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
F14841555: D20316.id48470.diff
Sat, Feb 1, 4:37 PM
Unknown Object (File)
Tue, Jan 28, 5:03 AM
Unknown Object (File)
Tue, Jan 28, 5:03 AM
Unknown Object (File)
Tue, Jan 28, 5:03 AM
Unknown Object (File)
Mon, Jan 27, 8:28 AM
Unknown Object (File)
Sat, Jan 25, 4:22 PM
Unknown Object (File)
Sat, Jan 25, 4:23 AM
Unknown Object (File)
Sat, Jan 25, 4:23 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
Branch
select1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 22334
Build 30560: Run Core Tests
Build 30559: arc lint + arc unit