Developer Portal for YouTrack and Hub Help

Requirement

A single element in a set of Requirements

Properties

Name

Type

Description

id

string

An optional issue ID, used instead of name for Issue requirements.

inward

string

The inward name of the issue link type (equals outward name if not set).

login

string

An optional login, used instead of name for User requirements.

multi

boolean

An optional flag, `false` by default. If `true`, a required field must store multiple values (if applicable).

name

string

The optional name of the field or entity. If not provided, the key (alias) for this requirement in the Requirements object is used.

outward

string

The outward name of the issue link type (required for IssueLinkPrototype requirements).

type

string, Object

The data type of the entity. Can be one of the following custom field types: Build.fieldType, OwnedField.fieldType, State.fieldType, EnumField.fieldType, ProjectVersion.fieldType, User.fieldType, UserGroup.fieldType, Field.dateType, Field.floatType, Field.integerType, Field.stringType, Field.periodType. Can also be one of the following system-wide entities: User, UserGroup, Project, Issue, Tag, SavedQuery, IssueLinkPrototype.

Last modified: 7 November 2024