Get a Tag by Name
GET /user/tag/{tag}
Get tag by name
GET /rest/user/tag/{tag}
Request parameters:
Name | Type | Description |
---|---|---|
tag | tagName | Name of a tag to get. |
Response parameters:
Name | Description |
---|---|
name | Name of the tag. |
visibleForGroup | Group of users, who can see this tag. |
updatableByGroup | Group of users, who can edit this tag. |
untagOnResolve | If issues should be automatically untagged after it becomes resolved. |
Sample
Request
GET https://example.com/youtrack/rest/user/tag/tag%201
Cookie: $Version=0; JSESSIONID=1hsabc83ru0xantrxqho4idzk; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=MTVhMjY2OGUxMTUxMTI5MGMzNjhlZWM5NTJiNGJkNmIyNzc3NjdjZmM3YWU4MTVjYzQwYWE1MWZlYTkwNTcxNzphcHBfZXhjZXB0aW9u; $Path=/
Response
HTTP/1.1 200 OK
Content-Type: application/xml;charset=UTF-8
Content-Length: 169
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<search name="tag 1" visibleForGroup="idea-developers" updatableByGroup="idea-developers" untagOnResolve="false"/>
Last modified: 30 March 2021