Background
...
- For the current Stage id, display the comments, if available.
- If there are no comments, then comments tab can show the message 'No reviewer comments'.
- On click of the stage, filter the results by stageid in comments result and show in the relevant comments.
API url:
/review-comments/comment/v1/threadread/listcomment
As per the response of the comments, all comment is available in array,
...
2. Delete the Comment by StageId
api Api url:
/review/comment/v1/delete/comment
Request of the Delete of the comment by stageId is
...
On configuring the plugin, the comments are displayed.
Cons
Reviewer name and logo will be displayed same as when the reviewer commented. If the reviewer updates the name or logo it will not reflect in the old comments.
Solution 2
- To display the comments of a stage, for 'stage: select' event, do the API call for each stage id,
...