如何以编程方式在 Phabricator Maniphest 中创建自定义字段?

How can I create cutom fields in Phabricator Manipfest programmatically?

如何从 cli 中使用 maniphest.custom-field-definitions for Phabricator?我知道如何使用基于 docs 的 UI 创建自定义字段,但我试图通过在可能的情况下将 JSON 作为标准输入传递来使用命令行选项来执行此操作。

我知道我可以通过命令执行各种操作,如 config、auth、api 等,但我找不到关于如何从命令行使用自定义字段的指示。

您可以使用以下命令从 shell 编辑自定义字段定义:

phabricator/bin/config set maniphest.custom-field-definitions "{ your customfield json here}"

注意: 这与我提供的答案相同 on phabricator-community.org。也张贴在这里为了后代