Not able to add comments on Gerrit. It rather gets added as Draft. What am I doing wrong?

StackOverflow https://stackoverflow.com/questions/6307545

  •  26-10-2019
  •  | 
  •  

Question

Not able to add comments on Gerrit. It rather gets added as Draft. What am I doing wrong? Others in my team are able to add comments though.

Was it helpful?

Solution

Comments are published when you make them part of a review. Post a review and the comments will be published with it. (You can score the commit as +0 if you don't have any opinion either way.)

OTHER TIPS

Click on the Reply button in the header. Then Post it.

And since I am not able to add a comment :

When you want to add comments to a specific revision(Patch Set), switch to that revision and then click on reply. This "Patch Sets" option is found on the upper right corner next to "Download".

screenshot : Switch to a Patch Set

Had to learn the Hard Way today. :-/

At least on Qt's Gerrit system:

After saving the comment draft, yse the keyboard shortcut 'r' to publish a "review" which publishes the comment.

For those who has happened to be stumbled (like me) with how to post comments for work-in-progress (WIP) review without starting review (e.g. leaving in work-in-progress state), Gerrit version 2.16. Here's counter-intuitive answer:

  • Press "START REVIEW" button - don't afraid, it will not start review immediately (at least on above mentioned version)
  • Press "SAVE" (greyish! not quite noticeable) in opened window in left bottom corner
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top