Atlassian · Schema

CreateWorkflowTransitionRulesDetails

The details of a workflow transition rules.

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
conditions object The workflow conditions.
postFunctions array The workflow post functions. **Note:** The default post functions are always added to the *initial* transition, as in: "postFunctions": [ { "type": "IssueCreateFunction" }, { "type": "IssueReindexFunc
validators array The workflow validators. **Note:** The default permission validator is always added to the *initial* transition, as in: "validators": [ { "type": "PermissionValidator", "configuration": { "permissionK
View JSON Schema on GitHub

JSON Schema

atlassian-createworkflowtransitionrulesdetails-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateWorkflowTransitionRulesDetails",
  "title": "CreateWorkflowTransitionRulesDetails",
  "additionalProperties": false,
  "description": "The details of a workflow transition rules.",
  "properties": {
    "conditions": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CreateWorkflowCondition"
        }
      ],
      "description": "The workflow conditions."
    },
    "postFunctions": {
      "description": "The workflow post functions.\n\n**Note:** The default post functions are always added to the *initial* transition, as in:\n\n    \"postFunctions\": [\n        {\n            \"type\": \"IssueCreateFunction\"\n        },\n        {\n            \"type\": \"IssueReindexFunction\"\n        },\n        {\n            \"type\": \"FireIssueEventFunction\",\n            \"configuration\": {\n                \"event\": {\n                    \"id\": \"1\",\n                    \"name\": \"issue_created\"\n                }\n            }\n        }\n    ]\n\n**Note:** The default post functions are always added to the *global* and *directed* transitions, as in:\n\n    \"postFunctions\": [\n        {\n            \"type\": \"UpdateIssueStatusFunction\"\n        },\n        {\n            \"type\": \"CreateCommentFunction\"\n        },\n        {\n            \"type\": \"GenerateChangeHistoryFunction\"\n        },\n        {\n            \"type\": \"IssueReindexFunction\"\n        },\n        {\n            \"type\": \"FireIssueEventFunction\",\n            \"configuration\": {\n                \"event\": {\n                    \"id\": \"13\",\n                    \"name\": \"issue_generic\"\n                }\n            }\n        }\n    ]",
      "items": {
        "$ref": "#/components/schemas/CreateWorkflowTransitionRule"
      },
      "type": "array"
    },
    "validators": {
      "description": "The workflow validators.\n\n**Note:** The default permission validator is always added to the *initial* transition, as in:\n\n    \"validators\": [\n        {\n            \"type\": \"PermissionValidator\",\n            \"configuration\": {\n                \"permissionKey\": \"CREATE_ISSUES\"\n            }\n        }\n    ]",
      "items": {
        "$ref": "#/components/schemas/CreateWorkflowTransitionRule"
      },
      "type": "array"
    }
  },
  "type": "object",
  "writeOnly": true
}