GET: Read a comment

This topic provides instructions for using the GET operation to read a comment.


The comment instance is represented by data in JSON format.

To get the entity ID, first read all instances and locate the desired entity.

Note: When GETting instances, the REST API does not necessarily display all fields for the instance. For a complete list of available fields, see Retrieving metadata.

For performance optimization, when GETting entities, comments are not included in the response. To see a list of comment IDs and types, you have to explicitly request them using the fields clause.

GET .../api/shared_spaces/<space_id>/workspaces/<workspace_id>/defects&fields=comments

Back to top


Back to top