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: 

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 Champions.
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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.

TAGS
AUG Leaders

Atlassian Community Events