Report of Link Type per Jira issue

KP11
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.
March 14, 2013

Is there anyway to get a Jira report of Link Types per issue?

We need to find out which are commonly used, never used, and the different types

Any known DB query, JQL or Plugin can do all of the above?

1 answer

1 accepted

5 votes
Answer accepted
Immanuel Siagian
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.
March 14, 2013

Hello Ken,

The data is stored on the table issuelink. Within this table, it has a unique ID, link type, sournce and destination issue ID.

By default, JIRA has the following Issue Link Type: Block, Clone, Duplicate, and Relates. These Issue links have the following type ID:
10000 = blocks
10001 = clones
10002 = duplicates
10003 = relates

I think the best way to count the number of Issue Links that are being used is to apply the Count SQL function for each Issue Link Type.

For example,

SELECT COUNT(linktype) FROM issuelink where linktype = 10002;


Hope this helps.

Suggest an answer

Log in or Sign up to answer