PUT /rest/api/2/comment/{commentId}/properties/{propertyKey}

Creates or updates the value of a property for a comment. Use this resource to store custom data against a comment.

The value of the request body must be a valid, non-empty JSON blob. The maximum length is 32768 characters.

Permissions required: either of:

Also, when the visibility of a comment is restricted to a role or group the user must be a member of that role or group.

Servers

Path parameters

Name Type Required Description
propertyKey String Yes

The key of the property. The maximum length is 255 characters.

commentId String Yes

The ID of the comment.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.