The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bulk delete parent link

Marina Barbir
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 16, 2018

Hi, 


I am looking for a way to delete more than 1000 tasks from a parent node. I tried both - working on the parent node and working on the children - but no luck.

  • Going into the parent node I can only delete one linked child at a time so it's pretty time consuming.
  • Going to the search and performing a bulk edit of all children does not let me edit issue links.

Any workaround or tip that could save me a night shift?

Thanks!

Marina

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Mor Zahavi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 6, 2025

To bulk remove parent link from multiple issues:
Click on the parent so that all it's child issues are shown together, click on the 3 dots -> bulk edit, select all, then select edit issues, go to the "change parent" drop down and select it, then next and confirm.

This will remove the parent link from all issues in this parent. Unknown-1.pngUnknown-2.pngUnknown.png

0 votes
Tom Lister
Community Champion
November 18, 2018

Hi @Marina Barbir

are you able to use any scripting tools in your Jira installation?

are the issues related to parent via issue links or as sub-tasks?

Tom Lister
Community Champion
November 18, 2018

Hi

If you can run SQL, this will enable you to get the id's of issue links

SELECT 
il.id as linkid,
ilt.linkname,
concat(pr.pname,'-',ji1.issuenum) as source_key,
concat(pr.pname,'-',ji2.issuenum) as dest_key
FROM issuelink il, issuelinktype ilt, jiraissue ji1, jiraissue ji2, project pr
where ilt.id = linktype
and source = ji1.id
and destination = ji2.id
and pr.id = ji1.project

you could then create 'curl' calls to remove those links

curl -insecure -u admin:admin -X DELETE -H "Content-Type: application/json" http://localhost:8080/rest/api/2/issueLink/10101
0 votes
Thomas B
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 16, 2018

Hello @Marina Barbir,

I believe you are trying to delete all issues that have a link to some parent issue. If so, you could perform a search issue in linkedIssues("ParentIssueID") 

  1. Select Tools
  2. Bulk Change: all issues.
  3. Select all issues to delete and hit Next
  4. Select Delete Issues

I hope this is what you were looking for!

Thanks

Marina Barbir
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 16, 2018

Hi @Thomas B

I am actually not trying to delete the issues themselves but I want to "unlink" them from the parent, which doesn't seem to be possible via bulk edit?


Thanks for your quick response however.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events