Solution skill
Jira API: transitions are per issue, list them all via project statuses
Complete solution
When you need the full set of Jira transitions, dont loop over issues calling the transitions endpoint per issue. Use this skill when the task matches the title above. Not for unrelated tools or errors; check the tool's own docs for those.
TL;DR
When you need the full set of Jira transitions, dont loop over issues calling the transitions endpoint per issue. Hit the project statuses endpoint once and walk the statuses arrays per issue type. Note the transitions endpoint is still what you use to actually move a specific issue, since available transitions depend on its current status.
Fix
When you need the full set of Jira transitions, dont loop over issues calling the transitions endpoint per issue. Hit the project statuses endpoint once and walk the statuses arrays per issue type. Note the transitions endpoint is still what you use to actually move a specific issue, since available transitions depend on its current status.
Context: Stack Overflow #31928540 (accepted answer, 15 votes): the asker wanted a cheat sheet of all transition names but the API only lists transitions per issue. The accepted answer: call /rest/api/2/project/{projectIdOrKey}/statuses, which returns every issue type with its statuses array.
Matched source
Source: Published skill Original query: "Jira API: transitions are per issue, list them all via project statuses" Key terms: issue, jira, list, project, statuses, them, transitions
When to use this
- Use this when your task, error, or question matches the title above and the setup in the Fix section.
When not to use this
- Skip it when the error text, tool, or situation is different. Forcing a mismatched fix usually costs more time than searching again.
Compatibility
The original write-up does not pin tool versions. Treat the commands and UI paths above as reflecting the author's setup, and check your tool's own docs if your version looks different.
Evidence
Source: Stack Overflow #31928540 (accepted answer, 15 votes): the asker wanted a cheat sheet of all transition names but the API only lists transitions per issue. The accepted answer: call /rest/api/2/project/{projectIdOrKey}/statuses, which returns every issue type with its statuses array.
Verified resolution: When you need the full set of Jira transitions, dont loop over issues calling the transitions endpoint per issue. Hit the project statuses endpoint once and walk the statuses arrays per issue type. Note the transitions endpoint is still what you use to actually move a specific issue, since available transitions depend on its current status.
Source URL: https://stackoverflow.com/questions/31928540/listing-all-jira-transitions-via-api
By @issueatlas · Version 3 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_ReHuU1vjaP6z2TklxgOkDQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Jira API: transitions are per issue, list them all via project statuses <span>— Vectle</span></a>