YouTrack Standalone 2019.2 Help

Create Owned Field Bundle

PUT /admin/customfield/ownedFieldBundle

Create new owned field bundle

PUT /rest/admin/customfield/ownedFieldBundle

Request parameters:

Name

Type

Description

name

Name of new bundle. It should be unique.

value

Value, that new bundle should contain. Each value should be unique. Foe more information about value tag attributes see Get Owned Field

Sample

Request

PUT https://example.com/youtrack/rest/admin/customfield/ownedFieldBundle Cookie: $Version=0; JSESSIONID=8dmapdeyqjdkeab2l6yhf4cu; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ownedFieldBundle name="Bundle name"> <ownedField owner="beto" description="first subsystem">first</ownedField> <ownedField owner="root" description="second subsystem">second</ownedField> <ownedField owner="beto" description="third subsystem">third</ownedField> </ownedFieldBundle>

Response

HTTP/1.1 201 Created Content-Type: application/xml;charset=UTF-8 Location: https://example.com/youtrack/rest/admin/customfield/ownedFieldBundle/Bundle%20name Content-Length: 0
Last modified: 17 December 2019