Skip to content

Atlassian: Update workflow transition rule configurations

Atlassian workflowTransitionRules.updateWorkflowTransitionRuleConfigurations: arguments, response, policy and SDK examples.

← Workflow transition rules operations · Get started

Operation atlassian.updateworkflowtransitionruleconfigurations

Provider route: PUT /{cloudId}/rest/api/3/workflow/rule/config. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/atlassian with npm, or alter-sdk-atlassian with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { AtlassianIntegration } from "@alter-ai/atlassian";
async function execute(input: Parameters<AtlassianIntegration["workflowTransitionRules"]["updateWorkflowTransitionRuleConfigurations"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new AtlassianIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.workflowTransitionRules.updateWorkflowTransitionRuleConfigurations(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_atlassian import AtlassianIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = AtlassianIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.workflow_transition_rules.update_workflow_transition_rule_configurations(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.cloudIdstringRequired within parentPattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
bodyModelRequired within parentExpand Update workflow transition rule configurations — request body — body

Referenced models: Update workflow transition rule configurations — request body — body

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$ModelRootExpand Update workflow transition rule configurations — response body

Referenced models: Update workflow transition rule configurations — response body

Update workflow transition rule configurations — response body
FieldTypePresenceDescription and constraints
$objectRootDetails of any errors encountered while updating workflow transition rules.
updateResultsJSONOptional
updateResults (anyOf 1)arrayAlternativeA list of workflows.
updateResults (anyOf 1)[]ModelEach itemExpand Update workflow transition rule configurations — response body — update Results A list of workflows item
updateResults (anyOf 2)nullAlternative

Referenced models: Update workflow transition rule configurations — response body — update Results A list of workflows item

Update workflow transition rule configurations — request body — body
FieldTypePresenceDescription and constraints
$objectRootDetails about a workflow configuration update request.
Additional keys: not allowed
workflowsarrayRequired within parentThe list of workflows with transition rules to update.
workflows[]ModelEach itemExpand Update workflow transition rule configurations — request body — body workflows item

Referenced models: Update workflow transition rule configurations — request body — body workflows item

Update workflow transition rule configurations — response body — update Results A list of workflows item
FieldTypePresenceDescription and constraints
$objectRootDetails of any errors encountered while updating workflow transition rules for a workflow.
ruleUpdateErrorsJSONOptional
ruleUpdateErrors (anyOf 1)objectAlternativeA list of transition rule update errors, indexed by the transition rule ID. Any transition rule that appears here wasn't updated.
Additional keys: see wildcard field
ruleUpdateErrors (anyOf 1).*arrayAdditional keysA list of transition rule update errors, indexed by the transition rule ID. Any transition rule that appears here wasn't updated.
Unique items: true
ruleUpdateErrors (anyOf 1).*[]stringEach itemA list of transition rule update errors, indexed by the transition rule ID. Any transition rule that appears here wasn't updated.
ruleUpdateErrors (anyOf 2)nullAlternative
updateErrorsJSONOptional
updateErrors (anyOf 1)arrayAlternativeThe list of errors that specify why the workflow update failed. The workflow was not updated if the list contains any entries.
Unique items: true
updateErrors (anyOf 1)[]stringEach itemAn error specifying why the workflow update failed.
updateErrors (anyOf 2)nullAlternative
workflowIdJSONOptional
workflowId (anyOf 1)ModelAlternativeExpand Get workflow transition rule configurations — response body — values The list of items item workflow Id Properties that identify a workflow
workflowId (anyOf 2)nullAlternative

Referenced models: Get workflow transition rule configurations — response body — values The list of items item workflow Id Properties that identify a workflow

Update workflow transition rule configurations — request body — body workflows item
FieldTypePresenceDescription and constraints
$objectRootA workflow with transition rules.
Additional keys: not allowed
conditionsarrayOptionalThe list of conditions within the workflow.
conditions[]ModelEach itemExpand Update workflow transition rule configurations — request body — body workflows item conditions item
postFunctionsarrayOptionalThe list of post functions within the workflow.
postFunctions[]ModelEach itemExpand Update workflow transition rule configurations — request body — body workflows item conditions item
validatorsarrayOptionalThe list of validators within the workflow.
validators[]ModelEach itemExpand Update workflow transition rule configurations — request body — body workflows item conditions item
workflowIdModelRequired within parentExpand Update workflow transition rule configurations — request body — body workflows item workflow Id

Referenced models: Update workflow transition rule configurations — request body — body workflows item conditions item, Update workflow transition rule configurations — request body — body workflows item workflow Id

Get workflow transition rule configurations — response body — values The list of items item workflow Id Properties that identify a workflow
FieldTypePresenceDescription and constraints
$objectRootProperties that identify a workflow.
draftJSONOptional
draft (anyOf 1)booleanAlternative**Deprecated:** Whether the workflow is in the draft state. The 'draft' parameter will be removed from this API on [November 2, 2026](https://developer.atlassian.com/cloud/jira/platform/changelog/#CHANGE-3147).
draft (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of the workflow.
name (anyOf 2)nullAlternative
Update workflow transition rule configurations — request body — body workflows item conditions item
FieldTypePresenceDescription and constraints
$objectRootA workflow transition rule.
Additional keys: not allowed
configurationModelRequired within parentExpand Update workflow transition rule configurations — request body — body workflows item conditions item configuration
idstringRequired within parentThe ID of the transition rule.
keystringRequired within parentThe key of the rule, as defined in the Connect or the Forge app descriptor.
Read only: true
transitionModelOptionalExpand Update workflow transition rule configurations — request body — body workflows item conditions item transition
Read only: true

Referenced models: Update workflow transition rule configurations — request body — body workflows item conditions item configuration, Update workflow transition rule configurations — request body — body workflows item conditions item transition

Update workflow transition rule configurations — request body — body workflows item workflow Id
FieldTypePresenceDescription and constraints
$objectRootProperties that identify a workflow.
Additional keys: not allowed
draftbooleanOptional**Deprecated:** Whether the workflow is in the draft state. The 'draft' parameter will be removed from this API on [November 2, 2026](https://developer.atlassian.com/cloud/jira/platform/changelog/#CHANGE-3147).
namestringRequired within parentThe name of the workflow.
Update workflow transition rule configurations — request body — body workflows item conditions item configuration
FieldTypePresenceDescription and constraints
$objectRootA rule configuration.
Additional keys: not allowed
disabledbooleanOptionalWhether the rule is disabled.
Default: false
tagstringOptionalA tag used to filter rules in [Get workflow transition rule configurations](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-rules/#api-rest-api-3-workflow-rule-config-get).
Maximum length: 255
valuestringRequired within parentConfiguration of the rule, as it is stored by the Connect or the Forge app on the rule configuration page.
Update workflow transition rule configurations — request body — body workflows item conditions item transition
FieldTypePresenceDescription and constraints
$objectRootA workflow transition.
Additional keys: not allowed
idintegerRequired within parentThe transition ID.
Format: int32
namestringRequired within parentThe transition name.

SDK function policy ID: atlassian.updateworkflowtransitionruleconfigurations. Catalog operation: updateworkflowtransitionruleconfigurations. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Required provider scopes: ["manage:jira-configuration"]

Official provider source

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.