We have requirements to get the list of issue type (Story) which are blocked /dependent on Stories
List of stories which is blocked by stories
List of Stories which is dependent on Defects
List of Defect which blocks the Stories
please check out the add-on JQL tricks which can do things like this: https://marketplace.atlassian.com/plugins/com.j-tricks.jql-plugin - as far as I know this is not really possible in standard JIRA.
In addition to Christoph's suggestion, ScriptRunner should be able to do this, too.
The add-on uses scripted JQL functions using subqueries. Basically, you can get what you're looking for using a query similar to this:
issueFunction in linkedIssuesOf("issuetype = Story", "blocks")
The linkedIssuesOf() function takes a subquery and then the link description as parameters (with the link description being optional).
Using this method, you would need three separate filters/queries, but this could work for you, I think.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot