YouTrack Standalone 7.0 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 http://localhost:8081/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: http://unit-258.labs.intellij.net:8080/charisma/rest/user/tag/tag%201 Content-Length: 0 Server: Jetty(7.2.0.v20101020)
Last modified: 29 September 2016