---
ai:
  exclude: true
search:
  tags:
    - issue
    - GET
seo:
  description: >-
    Returns a single comment. Reference for the GET
    /api/2/issue/{issueIdOrKey}/comment/{id} endpoint in the Jira Software Data
    Center REST API Reference.
sidebar:
  label: Get a comment by id
  badge: GET
title: Get a comment by id
type: openapi-operation
---
Returns a single comment.

`GET /api/2/issue/{issueIdOrKey}/comment/{id}`

**Responses**

- `200` — Returns a full representation of a Jira comment in JSON format.
- `404` — Returned if the requested comment is not found, or the user does not have permission to view it.

Response example, 200:

```json
{
  "author": {
    "active": true,
    "avatarUrls": "http://www.example.com/jira/secure/projectavatar?size=xsmall&pid=10000",
    "displayName": "Fred F. User",
    "emailAddress": "fred@example.com",
    "key": "fred",
    "name": "Fred",
    "self": "http://www.example.com/jira/rest/api/2/user?username=fred",
    "timeZone": "Australia/Sydney"
  },
  "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.",
  "created": "2012-07-06T18:30:00.000+0000",
  "id": "10000",
  "properties": [
    {
      "key": "issue.support",
      "value": "{\"hipchat.room.id\":\"support-123\",\"support.time\":\"1m\"}"
    }
  ],
  "renderedBody": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.",
  "self": "http://www.example.com/jira/rest/api/2/issue/10010/comment/10000",
  "updateAuthor": {
    "active": true,
    "avatarUrls": "http://www.example.com/jira/secure/projectavatar?size=xsmall&pid=10000",
    "displayName": "Fred F. User",
    "emailAddress": "fred@example.com",
    "key": "fred",
    "name": "Fred",
    "self": "http://www.example.com/jira/rest/api/2/user?username=fred",
    "timeZone": "Australia/Sydney"
  },
  "updated": "2012-07-06T18:30:00.000+0000",
  "visibility": {
    "type": "group",
    "value": "jira-software-users"
  }
}
```
