使用arc arcanist命令行编辑制颤器任务的父项时出错

问题描述 投票:0回答:1
 [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中的指示]

phabricator arcanist
1个回答
0
投票

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

从Monogram中找到PHID
© www.soinside.com 2019 - 2024. All rights reserved.