YouTrack Standalone 2019.1 Help

Operations with Specific StateBundle

This resource provides operations with state bundles.

Resource

/api/admin/customFieldSettings/bundles/state/{bundleID}

Returned entity

StateBundle. For the description of the entity attributes, see Supported Fields section.

Supported methods

StateBundle attributes

Represents a set of states in YouTrack.

Extends BaseBundle

This table describes attributes of the StateBundle entity.

  • To receive an attribute in the response from server, specify it explicitly in the request parameter fields.

  • To update an attribute, provide it in the body of a POST request.

Field

Type

Description

values

Array of StateBundleElements

States contained in the bundle.

Read a Specific StateBundle

Request syntax

GET /api/admin/customFieldSettings/bundles/state/{bundleID}?{fields}

Request parameters

Parameter

Type

Description

fields

string

A list of StateBundle attributes that should be returned in the response. If no field is specified, only the entityID is returned.

Update a Specific StateBundle

Request syntax

POST /api/admin/customFieldSettings/bundles/state/{bundleID}?{fields}

Request parameters

Parameter

Type

Description

fields

string

A list of StateBundle attributes that should be returned in the response. If no field is specified, only the entityID is returned.

Delete a Specific StateBundle

Request syntax

DELETE /api/admin/customFieldSettings/bundles/state/{bundleID}

Request parameters

Parameter

Type

Description

Last modified: 8 July 2019