Atlassian · Schema

MappingsByWorkflow

The status mappings by workflows. Status mappings are required when the new workflow for an issue type doesn't contain all statuses that the old workflow has. Status mappings can be provided by a combination of `statusMappingsByWorkflows` and `statusMappingsByIssueTypeOverride`.

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
newWorkflowId string The ID of the new workflow.
oldWorkflowId string The ID of the old workflow.
statusMappings array The list of status mappings.
View JSON Schema on GitHub

JSON Schema

atlassian-mappingsbyworkflow-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MappingsByWorkflow",
  "title": "MappingsByWorkflow",
  "additionalProperties": false,
  "description": "The status mappings by workflows. Status mappings are required when the new workflow for an issue type doesn't contain all statuses that the old workflow has. Status mappings can be provided by a combination of `statusMappingsByWorkflows` and `statusMappingsByIssueTypeOverride`.",
  "properties": {
    "newWorkflowId": {
      "description": "The ID of the new workflow.",
      "type": "string"
    },
    "oldWorkflowId": {
      "description": "The ID of the old workflow.",
      "type": "string"
    },
    "statusMappings": {
      "description": "The list of status mappings.",
      "items": {
        "$ref": "#/components/schemas/WorkflowAssociationStatusMapping"
      },
      "type": "array"
    }
  },
  "required": [
    "newWorkflowId",
    "oldWorkflowId",
    "statusMappings"
  ],
  "type": "object"
}