GET Custom Field Types
GET /admin/customfield/type
Get all available custom field types.
GET /rest/admin/customfield/type
For each available custom field type, its name
and url
- its endpoint - are returned.
Sample
Request:
GET /rest/admin/customfield/type HTTP/1.1
Host: https://youtrack.mycompany.com
Authorization: Bearer perm:YWRtaW4=.UG9zdG1hbg==.oVCSLKlWh4WkBBLvLryMScl4iIiWwt
Content-Type: application/xml
Accept: application/json
Cache-Control: no-cache
Response:
[
{
"name": "build[1]",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/build%5B1%5D"
},
{
"name": "build[*]",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/build%5B*%5D"
},
{
"name": "enum[1]",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/enum%5B1%5D"
},
{
"name": "enum[*]",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/enum%5B*%5D"
},
{
"name": "group[1]",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/group%5B1%5D"
},
{
"name": "group[*]",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/group%5B*%5D"
},
{
"name": "ownedField[1]",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/ownedField%5B1%5D"
},
{
"name": "ownedField[*]",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/ownedField%5B*%5D"
},
{
"name": "state[1]",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/state%5B1%5D"
},
{
"name": "user[1]",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/user%5B1%5D"
},
{
"name": "user[*]",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/user%5B*%5D"
},
{
"name": "version[1]",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/version%5B1%5D"
},
{
"name": "version[*]",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/version%5B*%5D"
},
{
"name": "date",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/date"
},
{
"name": "date and time",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/date%20and%20time"
},
{
"name": "float",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/float"
},
{
"name": "integer",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/integer"
},
{
"name": "string",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/string"
},
{
"name": "period",
"url": "https://youtrack.mycompany.com/rest/admin/customfield/type/period"
}
]
Last modified: 1 July 2020