State Bundles
This resource provides operations with sets of values of the state
type.
Resource | /api/admin/customFieldSettings/bundles/state |
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 | The list of states that this set of values contains. |
isUpdateable | Boolean | If |
Read a List of StateBundles
Get all available sets of values of the State type.
Request syntax
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 |
$skip | Int | Optional. Lets you set a number of returned entities to skip before returning the first one. |
$top | Int | Optional. Lets you specify the maximum number of entries that are returned in the response. |
Sample
Sample request URI
Sample response body
Add a New StateBundle
Create new set of values of the State type.
Required permissions
Requires Update Project OR Low-level Admin Write permission.
Request syntax
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 |