How to safely remove Issue Link Types?

Jakub S December 30, 2021

I've found myself in a situation where the amount of possible Issue Link Types is overwhelming for basic users, and I would like to delete some of them in order to simplify the process.

Unfortunately this not as easy as it sounds, as I suspect many of the available Types origin in installed apps and simply removing them could cause related Apps to stop working. It seems like in order to safely remove these Types I would have to verify their origin, but there doesn't seem to be any such information in Administration > Issues > Issue Linking.

Any ideas how to find the origin of Issue Link Types or verify their dependencies? I did try to google them with little success, and due to a high number of installed Apps in our instance it's hard to pinpoint any single one as the culprit. 

5 answers

2 accepted

1 vote
Answer accepted
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.
December 30, 2021

There is no reference to it Jira-wise. If an app has a dependency on an issue link, Jira does not know about it. It might not even be an app/client existing inside Jira, could be a remote application/client somewhere else using those links via REST, or issue search. Short answer is, there is no easy way to get a concrete list of dependencies.

0 votes
Answer accepted
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.
December 30, 2021

The only way you could do (part of) this is to go to Admin -> manage apps, look at the list of user-installed apps, and read the documentation for each one you have active to find out what link types they actually need to be there in Jira.

You should do the same for external integrations too, but Jira can't tell you what they are, as they're not inside it.

1 vote
Filipi Lima
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 3, 2023

I'll resuscitate this to drop a query that can be quite useful:

select count(*),il.linktype,ilt.linkname,ilt.inward,ilt.outward,ilt.pstyle from "issuelinktype"
ilt join "issuelink" il on il.linktype=ilt.id
group by il.linktype,ilt.linkname,ilt.inward,ilt.outward,ilt.pstyle;

With that you can tell how much each of the issue link types is being used without having to query for each one.

Note that it will consider archived tickets as well.

0 votes
Dave Lewis August 23, 2022

We should be able to deactivate link types so that the old ones remain in the old tickets, but can't be selected by anyone moving forward, or, there should be link schemes (or, both of these options).  

0 votes
Jakub S December 31, 2021

Thank you for your answers!

I guess I must accept that there's a lot of tedious labour ahead of me.

Suggest an answer

Log in or Sign up to answer