YouTrack Standalone 2017.2 Help

Add New Tag

PUT /user/tag/{tagName}

Add new user's tag

PUT /rest/user/tag/{tagName}?{visibleForGroup}&{updatableByGroup}&{untagOnResolve}

Parameters:

Name

Type

Description

tagName

string

Name for the new tag to add.

visibleForGroup

string

Name of a user group, to which the new tag should be visible.

updatableByGroup

string

Name of a user group, members of which should be able to edit the new tag.

untagOnResolve

boolean

Enable or disable 'Untag on resolve' option for the new tag. If enabled, then the tag will be automatically removed from an issue, when issue's state changes to any state considered as 'resolved' (for example, Fixed, Duplicate, Obsolete, etc.)

Sample

Request

PUT https://example.com/youtrack/rest/user/tag/tag%201?visibleForGroup=idea-developers&updatableByGroup=idea-developers&untagOnResolve=false Cookie: $Version=0; JSESSIONID=1hsabc83ru0xantrxqho4idzk; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=MTVhMjY2OGUxMTUxMTI5MGMzNjhlZWM5NTJiNGJkNmIyNzc3NjdjZmM3YWU4MTVjYzQwYWE1MWZlYTkwNTcxNzphcHBfZXhjZXB0aW9u; $Path=/

Response

HTTP/1.1 201 Created Content-Type: application/xml;charset=UTF-8 Location: https://example.com/youtrack/rest/user/tag/tag%201 Content-Length: 0
Last modified: 7 March 2019