Developer Portal for YouTrack and Hub 2021.4 Help

FieldBasedCondition

Represents the condition for showing a custom field.

Extends CustomFieldCondition

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

field

BundleProjectCustomField

The custom field that the conditional field depends on. Can be null.

values

Array of BundleElements

The set of values one of which has to be selected in an issue so that the conditional field is shown.

showForNullValue

Boolean

If true, the conditional field is shown when the custom field used for the condition has an empty or default value.

parent

ProjectCustomField

The custom field that is hidden behind the condition. Can be null.

Last modified: 26 January 2022