使用 arc arcanist 命令行编辑 phabricator 任务的父级时出错
Error while editing parent of phabricator task using arc arcanist command line
[530]$echo '{ "objectIdentifier":"T1111", "transactions": [ { "type" "parents.add", "value": ["T2222"] } ] }'
| arc call-conduit --conduit-uri https://phab.somecompany.com/
--conduit-token cli-xyzlmnop maniphest.edit
我看到的错误
{"error":"ERR-CONDUIT-CORE","errorMessage":"ERR-CONDUIT-CORE: Edge transactions must have destination PHIDs as in edge lists (found key \"T2222\" on transaction of type \"4\").","response":null}
ERR-CONDUIT-CORE:边缘事务必须具有边缘列表中的目标 PHID
(尝试按照 here 的说明进行操作)
添加的父项必须指定为 PHID (PHID-TASK-tpp2tfkdc4vxhae3uxzy
),而不是字母组合 (T2222
)。您可以使用 maniphest.search
从会标中找到 PHID
[530]$echo '{ "objectIdentifier":"T1111", "transactions": [ { "type" "parents.add", "value": ["T2222"] } ] }'
| arc call-conduit --conduit-uri https://phab.somecompany.com/
--conduit-token cli-xyzlmnop maniphest.edit
我看到的错误
{"error":"ERR-CONDUIT-CORE","errorMessage":"ERR-CONDUIT-CORE: Edge transactions must have destination PHIDs as in edge lists (found key \"T2222\" on transaction of type \"4\").","response":null}
ERR-CONDUIT-CORE:边缘事务必须具有边缘列表中的目标 PHID
(尝试按照 here 的说明进行操作)
添加的父项必须指定为 PHID (PHID-TASK-tpp2tfkdc4vxhae3uxzy
),而不是字母组合 (T2222
)。您可以使用 maniphest.search