azure-devops-cli-extension icon indicating copy to clipboard operation
azure-devops-cli-extension copied to clipboard

Provide command to add comment to pull-request

Open theldoria opened this issue 3 years ago • 5 comments

I would like to be able to add comments to a pull-request.

This might be done with a command of the following signature:

az repos pr comment add "My comment to add\nwith more than one line" --org https://..... --id 12345

theldoria avatar Dec 11 '20 15:12 theldoria

Is there any plan to do this? Is there any way to do this aside from the direct POST?

ransagy avatar Mar 30 '21 11:03 ransagy

Hello Team, what is the way to get this done programmatically while we don't have a command to help?

DanielHRio avatar Mar 17 '22 06:03 DanielHRio

@DanielHRio while nothing official (in regards to the CLI at least) i ended up just doing the REST API way - https://gist.github.com/ransagy/e62d5505770125d32a1c57670972a874

ransagy avatar Mar 17 '22 09:03 ransagy

Any updates on this one? 😊

lobatolais avatar Nov 16 '23 02:11 lobatolais

Dear Team, is there an update on this request? This seems to be a basic feature that is missing.