Skip to content

Jira - Transition Issue

↩ Part of the Jira integration.

Executes a workflow transition on an issue (POST /issue/{key}/transitions) — this is how you move a ticket from To Do to In Progress, or close it as Done.

You can pass either a numeric transition id or a transition name. If you pass a name, the node first calls GET /issue/{key}/transitions, finds the matching transition for that issue’s current status and uses its id.

FieldTypeRequiredDescription
credentials_idcredentialsYesJira credential
issue_keytextYesIssue key (e.g. OPS-123)
transitiontextYesTransition id (e.g. 31) or name (e.g. In Progress)

Both issue_key and transition accept dynamic variables.

This module requires a Jira (Atlassian) credential:

FieldDescription
base_urlSite URL, e.g. https://your-domain.atlassian.net
emailAtlassian account email
api_tokenAPI token from id.atlassian.com

Jira returns an empty body, so the node returns a confirmation object with the id it actually used:

{
"key": "OPS-123",
"transitioned": true,
"transitionId": "31"
}

Along with it, _meta:

{ "moduleVersion": "1.0.0", "success": true, "key": "OPS-123", "transitionId": "31", "totalMs": 520 }
{
"credentials_id": "jira_ops",
"issue_key": "OPS-123",
"transition": "In Progress"
}
{
"credentials_id": "jira_ops",
"issue_key": "OPS-123",
"transition": "31"
}
{
"credentials_id": "jira_ops",
"issue_key": "{{data.key}}",
"transition": "{{data.target_status}}"
}
  • Transition ids are project-specific. They come from each project’s workflow scheme, so an id that works in OPS may not exist in DEV. Using the name is safer across projects.
  • Name matching is case-insensitive and also matches the destination status name (t.to.name), so both Done and the transition labelled Close issue can resolve depending on your workflow.
  • If the name is not among the issue’s available transitions, the error message lists the valid ones for that issue — a fast way to discover the right label.
  • Only transitions available from the issue’s current status are valid. A ticket already in Done cannot be transitioned to Done again.
  • Anything a transition screen marks as required (a resolution, a comment) must be set beforehand — this node sends only the transition, no extra fields.