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
F13206863: D20316.id48492.diff
Wed, May 15, 6:31 PM
F13194596: D20316.diff
Sun, May 12, 9:41 PM
F13179115: D20316.diff
Wed, May 8, 8:57 PM
Unknown Object (File)
Sun, May 5, 1:51 PM
Unknown Object (File)
Sat, May 4, 6:23 PM
Unknown Object (File)
Wed, May 1, 3:58 PM
Unknown Object (File)
Wed, Apr 24, 10:43 PM
Unknown Object (File)
Apr 12 2024, 1:37 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