YouTrack Standalone 2017.2 Help

Add Owned Field to Bundle

PUT /admin/customfield/ownedFieldBundle/{bundleName}/{fieldName}

Add new owned fields to bundle

PUT /rest/admin/customfield/ownedFieldBundle/{bundleName}/{fieldName}?{description}&{colorIndex}&{login}

Parameters:

Name

Type

Description

bundleName

string

Name of a bundle, to which the new value (field) should be added.

fieldName

string

Name of the field to add.

description

string

Field description.

colorIndex

Integer

Sequential number of the color scheme (a pair of background and text colors). See the list of available Color Indices List

login

string

Login name of the new field's owner.

Sample

Request

PUT https://example.com/youtrack/rest/admin/customfield/ownedFieldBundle/New%20bundle%20name/Element%20name?description=element+description&login=root Cookie: $Version=0; JSESSIONID=8dmapdeyqjdkeab2l6yhf4cu; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/

Response

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