---
ai:
  exclude: true
search:
  tags:
    - comment
    - GET
seo:
  description: >-
    Returns the value of… Reference for the GET
    /api/2/comment/{commentId}/properties/{propertyKey} endpoint in the Jira
    Software Data Center REST API Reference.
sidebar:
  label: Get a property from a comment
  badge: GET
title: Get a property from a comment
type: openapi-operation
---
Returns the value of the property with a given key from the comment identified by the key or by the id. The user who retrieves the property is required to have permissions to read the comment.

`GET /api/2/comment/{commentId}/properties/{propertyKey}`

**Responses**

- `200` — Returns the value of the property with a given key from the comment.
- `400` — Returned if the comment key or id is invalid.
- `401` — Returned if the calling user is not authenticated.
- `403` — Returned if the calling user does not have permission to browse the comment.
- `404` — Returned if the comment with given key or id does not exist or if the property with given key is not found.

Response example, 200:

```json
{
  "key": "issue.support",
  "value": "{\"hipchat.room.id\":\"support-123\",\"support.time\":\"1m\"}"
}
```
