I want to change jira issue status with python-jira.The python-jira API is http://jira-python.readthedocs.org/en/latest/ .I can't find any way to do this.
I was trying to use
I ran into this as well, and unfortunately JIRA's incredible flexibility also makes it a PITA sometimes.
To change the status on a ticket, you need to make a transition, which moves it from one status to the next.
You need to find your transition IDs, then use it like so:
if issue.fields.status in ('open', 'reopened'): # Move the ticket from opened to closed. jira.transition_issue(ticket, transitionId=131)
jira-python documents discovering and making transitions here.