provider Issue comment properties PUT
/rest/api/3/comment/{commentId}/properties/{propertyKey} @utdk/jira
/rest/api/3/comment/{commentId}/properties/{propertyKey} Set comment property
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](http://tools.ietf.org/html/rfc4627), non-empty JSON blob. The maximum length is 32768 characters.
**[Permissions](#permissions) required:** either of:
* *Edit All Comments* [project permission](https://confluence.atlassian.com/x/yodKLg) to create or update the value of a property on any comment.
* *Edit Own Comments* [project permission](https://confluence.atlassian.com/x/yodKLg) to create or update the value of a property on a comment created by the user.
- commentId path required
- The ID of the comment.
- string
- propertyKey path required
- The key of the property. The maximum length is 255 characters.
- string
Try it
Authentication
Configure credentials for The Jira Cloud platform REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import jira from '@utdk/jira';
await jira.setcommentproperty()