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

Pin a comment

Pins a comment to the top of the comment list.

PUT/api/2/issue/{issueIdOrKey}/comment/{id}/pin
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
issueIdOrKeystringrequired

Issue id or key

idstringrequired

Comment id

Request body
requiredapplication/json

'true' must be included as raw data

boolean
Responses
204

Returned if the comment was pinned successfully.

404

Returned if the comment with the given id does not exist or if the currently authenticated user does not have permission to pin it.

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PUT 'http://jira.example.com/rest/api/2/issue/string/comment/string/pin' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Content-Type: application/json' \
  -d 'true'
Response
Returned if the comment was pinned successfully.

Was this page helpful?