Change jira parent id of subtask

Luo Di April 14, 2014

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 votes
Luo Di April 15, 2014

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

--Regards

Di

0 votes
Mirek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 14, 2014

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.

-Mirek

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 14, 2014

DO NOT CHANGE A JIRA DATABASE WHILE IT IS RUNNING

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.

Suggest an answer

Log in or Sign up to answer