Hi all,

When I use web UI of the ReviewBoard to see commit diff there are two 
frames: how code looked before changes(left frame) and how it looks 
after(right frame). Each frame has it own line numbering.

I use the Sonar to scan code after changes and I want to add it's comments 
to the review using API( 
/api/review-requests/{review_request_id}/reviews/{review_id}/diff-comments/). 

Sonar returns line numbers corresponding the right side, but when I use API 
to create the comment for diff it sticks my comment corresponding to the 
left frame numbering.
I.e. it looks like the Sonar comments wrong lines.

How can I post diff comments using line numbering from the right frame?

Cheers,
Andrii

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to