How to change the status of a task in jira as completed
I'm trying to do this using the atlassian-python-api, but I get an error
requests.exceptions.HTTPError: The status change identifier must be an integer
This is code
from atlassian import Jira
jira = Jira(url='exampe.jira.com', username=username, password=password)
status = jira.get_issue_status(issue_key)
jira.issue_transition(issue_key, status=status)
The status variable supposed to be the Workflow transition ID. you can get it from the Jira Workflow.