使用arc arcanist命令行编辑pharicator任务的父代时出错

时间:2018-12-27 07:51:12

标签: phabricator arcanist

 [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中的说明)

1 个答案:

答案 0 :(得分:1)

添加的父项必须指定为PHID(PHID-TASK-tpp2tfkdc4vxhae3uxzy),而不是Monogram(T2222)。您可以使用maniphest.search

从Monogram中找到PHID