Page MenuHomePhabricator

JSON Example for Conduit method maniphest.edit?
Closed, ResolvedPublic

Asked by OCram on Feb 15 2017, 9:23 AM.

Details

Could someone help me with the conduit method maniphest.edit?

I need to add new comments to an existing tasks. But I really got stuck building a JSON string based on the given docs

Maybe someone could provide a JSON Example for the comment transaction? 😄

Thanks!

Answers

avivey
Updated 2,840 Days Ago

This works for me:

$ echo '{
  "transactions": [
    {
      "type": "comment",
      "value": "this is a new comment"
    }
  ],
  "objectIdentifier": 1
}' | arc call-conduit --conduit-uri <uri> --conduit-token <conduit-token> maniphest.edit

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.