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
F15513434: D20316.id48492.diff
Thu, Apr 17, 7:03 PM
F15475564: D20316.id48492.diff
Sun, Apr 6, 8:37 PM
F15469495: D20316.diff
Fri, Apr 4, 1:40 PM
F15462262: D20316.id.diff
Tue, Apr 1, 1:31 PM
F15447196: D20316.diff
Thu, Mar 27, 10:25 PM
F15447060: D20316.id48470.diff
Thu, Mar 27, 9:36 PM
F15443793: D20316.id48492.diff
Thu, Mar 27, 6:14 AM
F15439182: D20316.id.diff
Wed, Mar 26, 6:11 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