Get Owned Field Bundle
GET /admin/customfield/ownedFieldBundle/{bundleName}
Get owned field bundle by its name
GET /rest/admin/customfield/ownedFieldBundle/{bundleName}
Request parameters:
Name | Type | Description |
---|---|---|
bundleName | string | Name of an owned field bundle to get. |
Response parameters:
Name | Description |
---|---|
name | Name of owned field bundle. |
value | Value, that bundle contains. For more information about |
Samples
Sample 1
Request
GET https://example.com/youtrack/rest/admin/customfield/ownedFieldBundle/Bundle%20name
Cookie: $Version=0; JSESSIONID=8dmapdeyqjdkeab2l6yhf4cu; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/
Response
HTTP/1.1 404 Not Found
Content-Type: application/xml;charset=UTF-8
Content-Length: 115
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><error>Owned field bundle [ Bundle name ] not found.</error>
Sample 2
Request
GET https://example.com/youtrack/rest/admin/customfield/ownedFieldBundle/New%20bundle%20name
Cookie: $Version=0; JSESSIONID=8dmapdeyqjdkeab2l6yhf4cu; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/
Response
HTTP/1.1 200 OK
Content-Type: application/xml;charset=UTF-8
Content-Length: 336
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ownedFieldBundle name="New bundle name">
<ownedField description="first subsystem" owner="beto">first</ownedField>
<ownedField description="second subsystem" owner="root">second</ownedField>
<ownedField description="third subsystem" owner="beto">third</ownedField>
</ownedFieldBundle>
Last modified: 16 March 2020