Skip to content

Atlassian: Workflows schemas (part 2)

8 Atlassian schemas with complete fields and constraints.

← Workflows operations · All schemas

Search workflows — response body — values List of workflows item

FieldTypePresenceDescription and constraints
$objectRootDetails of a workflow.
createdJSONOptional
created (anyOf 1)JSONAlternative
created (anyOf 1) (anyOf 1)stringAlternativeThe creation date of the workflow.
created (anyOf 1) (anyOf 2)nullAlternative
created (anyOf 2)nullAlternative
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe description of the workflow.
description (anyOf 2)nullAlternative
idJSONOptional
id (anyOf 1)stringAlternativeThe ID of the workflow.
id (anyOf 2)nullAlternative
isEditableJSONOptional
isEditable (anyOf 1)booleanAlternativeIndicates if the workflow can be edited.
isEditable (anyOf 2)nullAlternative
loopedTransitionContainerLayoutJSONOptional
loopedTransitionContainerLayout (anyOf 1)ModelAlternativeExpand Read workflow version from history — response body — workflows array item start Point Layout value
loopedTransitionContainerLayout (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of the workflow.
name (anyOf 2)nullAlternative
scopeJSONOptional
scope (anyOf 1)ModelAlternativeExpand Bulk get workflow schemes — response body — item scope The scope of the workflow
scope (anyOf 2)nullAlternative
startPointLayoutJSONOptional
startPointLayout (anyOf 1)ModelAlternativeExpand Read workflow version from history — response body — workflows array item start Point Layout value
startPointLayout (anyOf 2)nullAlternative
statusesJSONOptional
statuses (anyOf 1)arrayAlternativeThe statuses referenced in this workflow.
Unique items: true
statuses (anyOf 1)[]ModelEach itemExpand Read workflow version from history — response body — workflows array item statuses array item
statuses (anyOf 2)nullAlternative
taskIdJSONOptional
taskId (anyOf 1)JSONAlternative
taskId (anyOf 1) (anyOf 1)stringAlternativeIf there is a current [asynchronous task](#async-operations) operation for this workflow.
taskId (anyOf 1) (anyOf 2)nullAlternative
taskId (anyOf 2)nullAlternative
transitionsJSONOptional
transitions (anyOf 1)arrayAlternativeThe transitions of the workflow.
Unique items: true
transitions (anyOf 1)[]ModelEach itemExpand Read workflow version from history — response body — workflows array item transitions array item
transitions (anyOf 2)nullAlternative
updatedJSONOptional
updated (anyOf 1)JSONAlternative
updated (anyOf 1) (anyOf 1)stringAlternativeThe last edited date of the workflow.
updated (anyOf 1) (anyOf 2)nullAlternative
updated (anyOf 2)nullAlternative
versionJSONOptional
version (anyOf 1)ModelAlternativeExpand Bulk get workflow schemes — response body — item version id, version Number
version (anyOf 2)nullAlternative

Referenced models: Bulk get workflow schemes — response body — item version id, version Number, Read workflow version from history — response body — workflows array item start Point Layout value, Bulk get workflow schemes — response body — item scope The scope of the workflow, Read workflow version from history — response body — workflows array item statuses array item, Read workflow version from history — response body — workflows array item transitions array item

Validate create workflows — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
payloadModelRequired within parentExpand Bulk create workflows — request body — body
validationOptionsModelOptionalExpand Validate create workflows — request body — body validation Options

Referenced models: Validate create workflows — request body — body validation Options, Bulk create workflows — request body — body

Validate create workflows — request body — body validation Options

FieldTypePresenceDescription and constraints
$objectRootThe level of validation to return from the API. If no values are provided, the default would return `WARNING` and `ERROR` level validation results.
Additional keys: not allowed
levelsarrayOptionalMaximum items: 2
levels[]stringEach itemOne of: WARNING, ERROR

Validate create workflows — response body

FieldTypePresenceDescription and constraints
$objectRoot
errorsJSONOptional
errors (anyOf 1)arrayAlternativeThe list of validation errors.
errors (anyOf 1)[]ModelEach itemExpand Validate create workflows — response body — errors The list of validation errors item
errors (anyOf 2)nullAlternative

Referenced models: Validate create workflows — response body — errors The list of validation errors item

Validate create workflows — response body — errors The list of validation errors item

FieldTypePresenceDescription and constraints
$objectRootThe details about a workflow validation error.
additionalDetailsJSONOptional
additionalDetails (anyOf 1)stringAlternativeAdditional details about the validation error.
additionalDetails (anyOf 2)nullAlternative
codeJSONOptional
code (anyOf 1)stringAlternativeAn error code.
code (anyOf 2)nullAlternative
elementReferenceJSONOptional
elementReference (anyOf 1)ModelAlternativeExpand Validate create workflows — response body — errors The list of validation errors item element Reference property Key, rule Id, status Mapping Reference, status Reference, transition Id
elementReference (anyOf 2)nullAlternative
levelJSONOptional
level (anyOf 1)stringAlternativeThe validation error level.
Known values: WARNING, ERROR
level (anyOf 2)nullAlternative
messageJSONOptional
message (anyOf 1)stringAlternativeAn error message.
message (anyOf 2)nullAlternative
typeJSONOptional
type (anyOf 1)stringAlternativeThe type of element the error or warning references.
Known values: RULE, STATUS, STATUS_LAYOUT, STATUS_PROPERTY, WORKFLOW, TRANSITION, TRANSITION_PROPERTY, SCOPE, STATUS_MAPPING, TRIGGER
type (anyOf 2)nullAlternative

Referenced models: Validate create workflows — response body — errors The list of validation errors item element Reference property Key, rule Id, status Mapping Reference, status Reference, transition Id

Validate create workflows — response body — errors The list of validation errors item element Reference property Key, rule Id, status Mapping Reference, status Reference, transition Id

FieldTypePresenceDescription and constraints
$objectRootA reference to the location of the error. This will be null if the error does not refer to a specific element.
propertyKeyJSONOptional
propertyKey (anyOf 1)stringAlternativeA property key.
propertyKey (anyOf 2)nullAlternative
ruleIdJSONOptional
ruleId (anyOf 1)stringAlternativeA rule ID.
ruleId (anyOf 2)nullAlternative
statusMappingReferenceJSONOptional
statusMappingReference (anyOf 1)ModelAlternativeExpand Validate create workflows — response body — errors The list of validation errors item element Reference property Key, rule Id, status Mapping Reference, status Reference, transition Id status Mapping Reference issue Type Id, project Id
statusMappingReference (anyOf 2)nullAlternative
statusReferenceJSONOptional
statusReference (anyOf 1)stringAlternativeA status reference.
statusReference (anyOf 2)nullAlternative
transitionIdJSONOptional
transitionId (anyOf 1)stringAlternativeA transition ID.
transitionId (anyOf 2)nullAlternative

Referenced models: Validate create workflows — response body — errors The list of validation errors item element Reference property Key, rule Id, status Mapping Reference, status Reference, transition Id status Mapping Reference issue Type Id, project Id

Validate create workflows — response body — errors The list of validation errors item element Reference property Key, rule Id, status Mapping Reference, status Reference, transition Id status Mapping Reference issue Type Id, project Id

FieldTypePresenceDescription and constraints
$objectRootA project and issueType ID pair that identifies a status mapping.
issueTypeIdJSONOptional
issueTypeId (anyOf 1)stringAlternativeThe ID of the issue type.
issueTypeId (anyOf 2)nullAlternative
projectIdJSONOptional
projectId (anyOf 1)stringAlternativeThe ID of the project.
projectId (anyOf 2)nullAlternative

Validate update workflows — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
payloadModelRequired within parentExpand Bulk update workflows — request body — body
validationOptionsModelOptionalExpand Validate create workflows — request body — body validation Options

Referenced models: Validate create workflows — request body — body validation Options, Bulk update workflows — request body — body

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.