YouTrack icon

YouTrack

Get data from YouTrack API

Tag → Add to Issue

AI-generated

Summary

Add a tag to a specific issue in YouTrack by providing the issue ID and the tag ID.

Inputs

  • Issue ID (required) — The ID of the issue to which the tag should be added, e.g., PROJECT-123.
  • Tag ID (required) — The ID of the tag to add to the issue, e.g., 6-4. You can obtain tag IDs by listing tags first.
  • Additional Options — Optional settings including a comma-separated list of fields to return in the response.

Output shape

An object representing the added tag with fields as specified, by default including id, name, and owner(login,name).

The default returned fields are 'id', 'name', and 'owner(login,name)'. You can customize which fields are returned by using the 'Fields' option in Additional Options.

Examples

Example 1: Add the tag with ID "6-4" to the issue "PROJECT-123" and receive the tag's id, name, and owner details in the response.

Set resource to Tag, operation to Add to Issue, specify issueId as PROJECT-123 and tagId as 6-4. Optionally adjust fields to return in the Additional Options.

Links

Discussion