YouTrack Standalone 2018.2 Help

Update an Existing Tag

POST /user/tag/{tag}

Update user's tag

POST /rest/user/tag/{tag}?{newName}&{visibleForGroup}&{updatableByGroup}&{untagOnResolve}

Parameters:

Name

Type

Description

tagName

string

Name of a tag to edit.

newName

string

New name for the tag.

visibleForGroup

string

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

updatableByGroup

string

Name of a user group, members of which should be able to edit the specified 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

POST http://localhost:8081/rest/user/tag/tag%201?newName=new+tag+1&visibleForGroup=idea-admins&updatableByGroup=idea-admins Cookie: $Version=0; JSESSIONID=1hsabc83ru0xantrxqho4idzk; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=MTVhMjY2OGUxMTUxMTI5MGMzNjhlZWM5NTJiNGJkNmIyNzc3NjdjZmM3YWU4MTVjYzQwYWE1MWZlYTkwNTcxNzphcHBfZXhjZXB0aW9u; $Path=/

Response

HTTP/1.1 301 Moved Permanently Content-Type: application/xml;charset=UTF-8 Location: http://unit-258.labs.intellij.net:8080/charisma/rest/user/tag/new%20tag%201 Content-Length: 0
Last modified: 9 October 2018