Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

In JQL - how to report "Return all issues that block any issue with the X component"

Mike Hirons July 9, 2021

Ultimately - I want JQL to report anything that is blocking any issue that has a certain attribute (in this case, a particular component).

I know that I can report all issues that are blocked and have the particular component attribute, but I can't retrieve a list of what is actually causing the block.

Any suggestions?

1 answer

1 accepted

1 vote
Answer accepted
Mohamed Benziane
Community Champion
July 9, 2021

Hi,

Do you have Scriptrunner ? May be you can start with the haslink function

https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_haslinks

Mike Hirons July 9, 2021

Thanks. Generally prefer to avoid using script runner, but have managed to get the query to work with your advice.

issueFunction in linkedIssuesOf("Project = PROJECTNAME AND Component = X", "blocks")

Suggest an answer

Log in or Sign up to answer