Finding circular links

Robert Dibley August 6, 2013

is there a way to track down circular references e.g. a JIRA task which has both a "blocks" link and a "is blocked by" link to the same JIRA task ?

1 answer

0 votes
T I
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.
August 6, 2013

You could install Script Runner Plugin:

https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner

Then you could find all isues with "blocks"+"is blocked by" with the following JQL Query:

issueFunction in hasLinks("blocks") AND issueFunction in hasLinks("is blocked by")

Robert Dibley August 6, 2013

unfortunately that would only show items that are both blocked and blocking, but that is a perfectly normal situation, i.e. A blocks B which in turn blocks C, so B is blocking and blocked.

What I am looking for is items such as : A blocks B, and A is blocked by B, which is of course a contradiction.

Suggest an answer

Log in or Sign up to answer