Developer Portal for YouTrack and Hub 2021.4 Help

StateMachineIssueCustomField

Represents the issue custom field that is managed by a state-machine rule in workflow.

Extends SingleValueIssueCustomField

This table describes attributes of the StateMachineIssueCustomField 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

value

The actual single value of the issue custom field. Can be null.

event

Event

The name of the transition that is used to set a value for the StateMachineIssueCustomField. The names of transitions are set in the state-machine script. For more details, see State-machine Rules.

Use this property for updating StateMachineIssueCustomField. When you read a StateMachineIssueCustomField entity, this property is always null.

Read-only.

possibleEvents

Array of Events

The list of possible events that you can send to update the StateMachineIssueCustomField. It's the list of transitions available in the current state according to the state-machine rule. For more details, see State-machine Rules. Read-only.

name

String

The name of the custom field. Read-only.

projectCustomField

ProjectCustomField

Reference to custom field settings for the particular project. Read-only.

Last modified: 17 November 2021