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.
Hi,
Welcome to the community
Since there is no REST API to move subtask between standard issue you can't achieve this.
An other option will be to clone the issue into the new parent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.