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.
Any workaround or tip that could save me a night shift?
Thanks!
Marina
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.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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")
I hope this is what you were looking for!
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.