Skip to content

Atlassian: Get available workflow capabilities

Atlassian workflows.workflowCapabilities: arguments, response, policy and SDK examples.

← Workflows operations · Get started

Operation atlassian.workflowcapabilities

Provider route: GET /{cloudId}/rest/api/3/workflows/capabilities. 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["workflows"]["workflowCapabilities"]>[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.workflows.workflowCapabilities(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.workflows.workflow_capabilities(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}$
queryobjectOptionalAdditional keys: not allowed
query.workflowIdstringOptional
query.projectIdstringOptional
query.issueTypeIdstringOptional

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

FieldTypePresenceDescription and constraints
$ModelRootExpand Get available workflow capabilities — response body

Referenced models: Get available workflow capabilities — response body

Get available workflow capabilities — response body
FieldTypePresenceDescription and constraints
$objectRoot
connectRulesJSONOptional
connectRules (anyOf 1)arrayAlternativeThe Connect provided ecosystem rules available.
connectRules (anyOf 1)[]ModelEach itemExpand Get available workflow capabilities — response body — connect Rules The Connect provided ecosystem rules available item
connectRules (anyOf 2)nullAlternative
editorScopeJSONOptional
editorScope (anyOf 1)stringAlternativeThe scope of the workflow capabilities. `GLOBAL` for company-managed projects and `PROJECT` for team-managed projects.
Known values: PROJECT, GLOBAL
editorScope (anyOf 2)nullAlternative
forgeRulesJSONOptional
forgeRules (anyOf 1)arrayAlternativeThe Forge provided ecosystem rules available.
forgeRules (anyOf 1)[]ModelEach itemExpand Get available workflow capabilities — response body — forge Rules The Forge provided ecosystem rules available item
forgeRules (anyOf 2)nullAlternative
projectTypesJSONOptional
projectTypes (anyOf 1)arrayAlternativeThe types of projects that this capability set is available for.
projectTypes (anyOf 1)[]stringEach itemKnown values: software, service_desk, product_discovery, business, unknown
projectTypes (anyOf 2)nullAlternative
systemRulesJSONOptional
systemRules (anyOf 1)arrayAlternativeThe Atlassian provided system rules available.
systemRules (anyOf 1)[]ModelEach itemExpand Get available workflow capabilities — response body — system Rules The Atlassian provided system rules available item
systemRules (anyOf 2)nullAlternative
triggerRulesJSONOptional
triggerRules (anyOf 1)arrayAlternativeThe trigger rules available.
triggerRules (anyOf 1)[]ModelEach itemExpand Get available workflow capabilities — response body — trigger Rules The trigger rules available item
triggerRules (anyOf 2)nullAlternative

Referenced models: Get available workflow capabilities — response body — connect Rules The Connect provided ecosystem rules available item, Get available workflow capabilities — response body — forge Rules The Forge provided ecosystem rules available item, Get available workflow capabilities — response body — system Rules The Atlassian provided system rules available item, Get available workflow capabilities — response body — trigger Rules The trigger rules available item

Get available workflow capabilities — response body — connect Rules The Connect provided ecosystem rules available item
FieldTypePresenceDescription and constraints
$objectRootThe Connect provided ecosystem rules available.
addonKeyJSONOptional
addonKey (anyOf 1)stringAlternativeThe add-on providing the rule.
addonKey (anyOf 2)nullAlternative
createUrlJSONOptional
createUrl (anyOf 1)stringAlternativeThe URL creation path segment defined in the Connect module.
createUrl (anyOf 2)nullAlternative
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe rule description.
description (anyOf 2)nullAlternative
editUrlJSONOptional
editUrl (anyOf 1)stringAlternativeThe URL edit path segment defined in the Connect module.
editUrl (anyOf 2)nullAlternative
moduleKeyJSONOptional
moduleKey (anyOf 1)stringAlternativeThe module providing the rule.
moduleKey (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe rule name.
name (anyOf 2)nullAlternative
ruleKeyJSONOptional
ruleKey (anyOf 1)stringAlternativeThe rule key.
ruleKey (anyOf 2)nullAlternative
ruleTypeJSONOptional
ruleType (anyOf 1)stringAlternativeThe rule type.
Known values: Condition, Validator, Function, Screen
ruleType (anyOf 2)nullAlternative
viewUrlJSONOptional
viewUrl (anyOf 1)stringAlternativeThe URL view path segment defined in the Connect module.
viewUrl (anyOf 2)nullAlternative
Get available workflow capabilities — response body — forge Rules The Forge provided ecosystem rules available item
FieldTypePresenceDescription and constraints
$objectRootThe Forge provided ecosystem rules available.
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe rule description.
description (anyOf 2)nullAlternative
idJSONOptional
id (anyOf 1)stringAlternativeThe unique ARI of the forge rule type.
id (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe rule name.
name (anyOf 2)nullAlternative
ruleKeyJSONOptional
ruleKey (anyOf 1)stringAlternativeThe rule key.
ruleKey (anyOf 2)nullAlternative
ruleTypeJSONOptional
ruleType (anyOf 1)stringAlternativeThe rule type.
Known values: Condition, Validator, Function, Screen
ruleType (anyOf 2)nullAlternative
Get available workflow capabilities — response body — system Rules The Atlassian provided system rules available item
FieldTypePresenceDescription and constraints
$objectRootThe Atlassian provided system rules available.
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe rule description.
description (anyOf 2)nullAlternative
incompatibleRuleKeysJSONOptional
incompatibleRuleKeys (anyOf 1)arrayAlternativeList of rules that conflict with this one.
incompatibleRuleKeys (anyOf 1)[]stringEach itemList of rules that conflict with this one.
incompatibleRuleKeys (anyOf 2)nullAlternative
isAvailableForInitialTransitionJSONOptional
isAvailableForInitialTransition (anyOf 1)booleanAlternativeWhether the rule can be added added to an initial transition.
isAvailableForInitialTransition (anyOf 2)nullAlternative
isVisibleJSONOptional
isVisible (anyOf 1)booleanAlternativeWhether the rule is visible.
isVisible (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe rule name.
name (anyOf 2)nullAlternative
ruleKeyJSONOptional
ruleKey (anyOf 1)stringAlternativeThe rule key.
ruleKey (anyOf 2)nullAlternative
ruleTypeJSONOptional
ruleType (anyOf 1)stringAlternativeThe rule type.
Known values: Condition, Validator, Function, Screen
ruleType (anyOf 2)nullAlternative
Get available workflow capabilities — response body — trigger Rules The trigger rules available item
FieldTypePresenceDescription and constraints
$objectRootThe trigger rules available.
availableTypesJSONOptional
availableTypes (anyOf 1)arrayAlternativeThe list of available trigger types.
availableTypes (anyOf 1)[]ModelEach itemExpand Get available workflow capabilities — response body — trigger Rules The trigger rules available item available Types The list of available trigger types item
availableTypes (anyOf 2)nullAlternative
ruleKeyJSONOptional
ruleKey (anyOf 1)stringAlternativeThe rule key of the rule.
ruleKey (anyOf 2)nullAlternative

Referenced models: Get available workflow capabilities — response body — trigger Rules The trigger rules available item available Types The list of available trigger types item

Get available workflow capabilities — response body — trigger Rules The trigger rules available item available Types The list of available trigger types item
FieldTypePresenceDescription and constraints
$objectRootThe list of available trigger types.
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe description of the trigger rule.
description (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of the trigger rule.
name (anyOf 2)nullAlternative
typeJSONOptional
type (anyOf 1)stringAlternativeThe type identifier of trigger rule.
type (anyOf 2)nullAlternative

SDK function policy ID: atlassian.workflowcapabilities. Catalog operation: workflowcapabilities. 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.