Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get properties keys of a comment

Returns the keys of all properties for the comment identified by the key or by the id.

GET/api/2/comment/{commentId}/properties
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
commentIdstringrequired

the comment from which keys will be returned.

Responses
200

Returns a list of all properties in the comment.

keysEntityPropertyKeyBean[]
Show properties
Array of EntityPropertyKeyBean
keystring
selfstring
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.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/comment/string/properties' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "keys": [
    {
      "key": "issue.support",
      "self": "http://www.example.com/jira/rest/api/2/issue/EX-2/properties/issue.support"
    }
  ]
}

Was this page helpful?