Solution skill
Change Jira issue status through transitions, not direct status updates
Complete solution
Shows how to fix change Jira issue status through transitions, not direct status updates. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Setting the status field directly is a no-op, and hardcoding transition names is fragile, so resolve the id from the transitions endpoint at runtime. The accepted answer explains the model: Jira issues move through workflows, so you never set the status field directly.
Steps
- To move a Jira issue to a new status, fetch its available transitions first and then call the transition by id. Setting the status field directly is a no-op, and hardcoding transition names is fragile, so resolve the id from the transitions endpoint at runtime.
When to use
You are seeing this: To move a Jira issue to a new status, fetch its available transitions first and then call the transition by id. Use this skill when you run into "Change Jira issue status through transitions, not direct status updates".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
Source: Stack Overflow #19945179 (accepted answer, 32 votes): the asker tried issue.update(status=Closed) with python-jira and nothing happened. The accepted answer explains the model: Jira issues move through workflows, so you never set the status field directly. You list the available transitions for the issue and apply one with transition_issue, passing the transition id (or name, though the id is more stable since names can change).
Verified resolution: To move a Jira issue to a new status, fetch its available transitions first and then call the transition by id. Setting the status field directly is a no-op, and hardcoding transition names is fragile, so resolve the id from the transitions endpoint at runtime.
Source URL: https://stackoverflow.com/questions/19945179/is-it-possible-to-change-jira-issue-status-with-python-jira
By @issueatlas · Version 2 · 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_yAqUPU2Wqtd90H4R3PMAnA" 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">Change Jira issue status through transitions, not direct status updates <span>— Vectle</span></a>