YouTrack Standalone 2019.2 Help

Update Owned Field

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

Update owned field

POST /rest/admin/customfield/ownedFieldBundle/{bundleName}/{fieldName}?{newName}&{description}&{colorIndex}&{newOwner}

Parameters:

Name

Type

Description

bundleName

string

Name of a bundle, in which a field should be updated.

fieldName

string

Name of a field to update.

newName

string

New name for the field.

description

string

Field description.

colorIndex

integer

Sequential number of the color scheme for the field. See the list of available Color Indices List.

newOwner

string

Login name of a new owner of the field.

Sample

Request

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

Response

HTTP/1.1 301 Moved Permanently Content-Type: application/xml;charset=UTF-8 Location: https://example.com/youtrack/rest/admin/customfield/ownedFieldBundle/New%20bundle%20name/New%20element%20name Content-Length: 0
Last modified: 17 December 2019