YouTrack icon

YouTrack

Get data from YouTrack API

Comment → Add

AI-generated

Summary

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.

Links

Discussion