Jira · Arazzo Workflow
Jira Sweep a Stale Issue Through a Transition
Version 1.0.0
Find stale issues with JQL, annotate the first match, discover its transitions, and close it.
Provider
Workflows
stale-issue-sweep
Select a stale Jira issue by JQL, comment on it, and transition it closed.
Runs a JQL search for stale issues, adds an audit comment to the first match explaining the automated action, discovers the transitions available on that issue, and performs the requested closing transition.
1
findStaleIssues
Run the stale-issue JQL query via POST and take the first match. The query is validated strictly so a malformed query fails loudly instead of silently sweeping the wrong issues.
2
addAuditComment
Leave an audit trail on the issue before it is closed, so the record of why it was swept survives the transition.
3
listTransitions
Discover the transitions available on the stale issue from its current status, rather than assuming a fixed transition id across projects.
4
closeIssue
Perform the closing transition with a resolution. This operation returns 204 with no body on success.
Source API Descriptions
openapi
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.