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.
<span>from</span> jira.client <span>import</span> JIRA
jira_client = JIRA(options={....}, ouath={...})
query = <span>"...some JSQL query...."</span>
issues = jira_client.search_issues(query)
issue = issues[<span>0</span>]
current_parent_id = <span>str</span>(issue.fields.parent)
<span>if</span> current_parent_id = <span>'IU-999'</span>:
issue.update(parent = {<span>'id'</span>: <span>'IU-1000'</span>})I am using jira-python 3.0.1.