user6670476
user6670476

Reputation: 153

Does Phabricator Conduit API support edit comment/transaction?

I come across a project in which I have to develop a tool to update the comment of a Maniphest task.

I have searched across the Phabricator Conduit API page, but I can only find APIs for applying new transactions.

Is there any API or workaround to edit a comment/transaction?

Thanks in advance.

Upvotes: 3

Views: 404

Answers (1)

CasualSuperman
CasualSuperman

Reputation: 59

You can use maniphest.edit with a transaction type of description, like so:

curl https://secure.phabricator.com/api/maniphest.edit \
    -d api.token=api-token \
    -d transactions[0][type]=description \
    -d transactions[0][value]=My%20new%20task%20description \
    -d objectIdentifier=1

Upvotes: 1

Related Questions