I am trying to move a Jira subtask to a new parent. I have tried the following, but the task is not moved and no error is raised.
from jira.client import JIRA
jira_client = JIRA(options={....}, ouath={...})
query = "...some JSQL query...."
issues = jira_client.search_issues(query)
issue = issues[0]
current_parent_id = str(issue.fields.parent)
if current_parent_id = 'IU-999':
issue.update(parent = {'id': 'IU-1000'})
I am using jira-python 3.0.1.