Finding circular links

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

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")

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

771 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you