Actions35
- Command Actions
- Comment Actions
- Issue Actions
- Issue Draft Actions
- Project Actions
- Saved Query Actions
- Tag Actions
- User Actions
- User Group Actions
- Work Item Actions
Comment → Add
AI-generatedSummary
Add a new comment to a specific issue in YouTrack by providing the issue ID and the comment text.
Inputs
- Issue ID (required) — The ID of the issue (e.g., PROJECT-123) to which the comment will be added.
- Comment Text (required) — The text content of the comment to add.
- Fields — Optional comma-separated list of comment fields to return in the response (default includes id, text, created, updated, author(login,name)).
Output shape
A single comment object.
The operation returns the newly created comment object including the requested fields. By default, the returned fields are id, text, created, updated, and author details (login and name). No pagination or batching applies.
Examples
Example 1: Add a comment
Specify the Issue ID and the Comment Text to add a comment to that issue. Optionally, adjust the returned fields.