Forums

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

How to remove issue links from a copied project

rawat899
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!
July 15, 2020

I am using Scriprunner to copy an existing project along with all its issues.

The old issue links (blocks/blocked by) from the original project are getting carried over to the newly copied project. Is there a way I can identify & remove them using groovy.

 

1 answer

0 votes
Radek Dostál
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 Leaders.
July 16, 2020

You should be able to do a JQL search and then be able to process each Issue object to find it's links (there is IssueLinkManager interface for that) - can be done from the console.

 

You might find some good starting points at the Adaptavist library: https://library.adaptavist.com/search?term=issue%20links

rawat899
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!
July 23, 2020

Thanks Radek!

JQL isn't returning only the main issues, couldn't find one to populate only the links. Checked the library too but nothing ready made is available. Seems I would need help to customize the script.

Suggest an answer

Log in or Sign up to answer