Change jira parent id of subtask

Since there is no way to change subtask's parent id via jira rest api,I tried to modify source in table ISSUElINK,but still not work,can any one help me? thank U.

3 answers

0 vote


Apologies for the shouting, but you need to understand that. If you amend Jira issue data with SQL, you *must* have stopped Jira before running the SQL, you *must* have taken a database backup and proved you can restore it ok, and you *must* reindex Jira afterwards. Or things break.

There's no way to change the link via REST, you will have to use the API to do it - either use the GUI or write something to expose the link values over REST.

Nic is right.. Database change is the last thing you want to do. But wait.. Why you cannot convert a subtask to and issue and then convert an issue to a sub-task back again?

This will allow you to change the parent to other ticket without touching the database or using REST.

Other case if you want to do it for mulitple issue.. Since this option is only available for single issues.


Thanks Nic and Mirek,your suggestions are really helpful to me.



Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Service Desk

Wy are we still using email for Service Desk workflows?

...attest to the experience of an urgent approval that gets lost in the boss’s inbox and requires that special “Please Approve” email or text message. In an age where we have distributed teams...

86 views 0 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you