Operations with Specific OwnedBundle
This resource provides operations with owned field bundles.
Resource | /api/admin/customFieldSettings/bundles/ownedField/{bundleID} |
Returned entity | OwnedBundle. For the description of the entity attributes, see Supported Fields section. |
Supported methods |
|
OwnedBundle attributes
Represents a set of owned values in YouTrack.
Extends BaseBundle
This table describes attributes of the OwnedBundle
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 OwnedBundleElements | Owned values. |
isUpdateable | Boolean | If |
Read a Specific OwnedBundle
Get a specific bundle of owned values.
Required permissions
Requires read or update access to one of the fields that use the bundle. If the bundle is not used in any field, Update Project permission is required in at least one project.
Request syntax
{bundleID} | The database ID of the bundle. |
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of OwnedBundle attributes that should be returned in the response. If no field is specified,only the |
Sample
Sample request
Sample response body
Update a Specific OwnedBundle
Update a specific bundle of owned values.
Required permissions
Requires Project Update permission in all projects where the bundle is used. If the bundle is not used in any field, Update Project permission is required in at least one project.
Request syntax
{bundleID} | The database ID of the bundle. |
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of OwnedBundle attributes that should be returned in the response. If no field is specified,only the |
Sample
Sample request
Sample request body
Sample response body
Delete a Specific OwnedBundle
Delete a specific bundle of owned values.
Required permissions
Requires Project Update permission in all projects where the bundle is used. If the bundle is not used in any field, Update Project permission is required in at least one project.
Request syntax
{bundleID} | The database ID of the bundle. |
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of OwnedBundle attributes that should be returned in the response. If no field is specified,only the |