Download OpenAPI specification:Download
CMJ Cloud Workflows SPI specification
This resource represents an API that must be implemented by an app and will be invoked by CMJ whenever workflow rules provided by this app are migrated.
Imports the configuration for all rules that an app supports for a single workflow. The rules have already been created in the workflow, the app implementing this endpoint must import the configuration.
importFromServerPath required | string |
The required data that the app can use to import the workflow rule configuration.
required | object (MigrationMetadata) Information about a CMJ Cloud migration. |
required | object (JiraMetadata) Information about a Jira instance. |
required | object (JiraMetadata) Information about a Jira instance. |
required | object (WorkflowRulesImportContext) The context for workflow rules import. |
{- "migrationMetadata": {
- "migrationName": "string",
- "migrationId": "string",
- "operationId": "string",
- "jwtToken": "string"
}, - "sourceJiraMetadata": {
- "origin": "SERVER",
- "appVersion": "string",
- "jiraVersion": "string",
- "jiraClientKey": "string",
}, - "targetJiraMetadata": {
- "origin": "SERVER",
- "appVersion": "string",
- "jiraVersion": "string",
- "jiraClientKey": "string",
}, - "context": {
- "workflowId": "string",
- "workflowRules": [
- {
- "id": "string",
- "key": "string",
- "type": "CONDITION",
- "configuration": {
- "property1": "string",
- "property2": "string"
}, - "transitionId": "string"
}
]
}
}
Exports the configuration for all rules that an app supports for a single workflow.
exportForCloudPath required | string |
The required data that the app can use to export the workflow rule configuration.
required | object (MigrationMetadata) Information about a CMJ Cloud migration. |
required | object (JiraMetadata) Information about a Jira instance. |
required | object (WorkflowRulesExportContext) The context for workflow rules export. |
{- "migrationMetadata": {
- "migrationName": "string",
- "migrationId": "string",
- "operationId": "string",
- "jwtToken": "string"
}, - "sourceJiraMetadata": {
- "origin": "SERVER",
- "appVersion": "string",
- "jiraVersion": "string",
- "jiraClientKey": "string",
}, - "context": {
- "workflowId": "string"
}
}
Imports the configuration for all rules that an app supports for a single workflow. The rules have already been created in the workflow, the app implementing this endpoint must import the configuration.
importFromCloudPath required | string |
The required data that the app can use to import the workflow rule configuration.
required | object (MigrationMetadata) Information about a CMJ Cloud migration. |
required | object (JiraMetadata) Information about a Jira instance. |
required | object (JiraMetadata) Information about a Jira instance. |
required | object (WorkflowRulesImportContext) The context for workflow rules import. |
{- "migrationMetadata": {
- "migrationName": "string",
- "migrationId": "string",
- "operationId": "string",
- "jwtToken": "string"
}, - "sourceJiraMetadata": {
- "origin": "SERVER",
- "appVersion": "string",
- "jiraVersion": "string",
- "jiraClientKey": "string",
}, - "targetJiraMetadata": {
- "origin": "SERVER",
- "appVersion": "string",
- "jiraVersion": "string",
- "jiraClientKey": "string",
}, - "context": {
- "workflowId": "string",
- "workflowRules": [
- {
- "id": "string",
- "key": "string",
- "type": "CONDITION",
- "configuration": {
- "property1": "string",
- "property2": "string"
}, - "transitionId": "string"
}
]
}
}