Hi,
What would be a JQL query to find (linked issues of type "is blocked by") AND (linked issues with status != Done) for a particular issue?
Example:
Issue ABC-1 is blocked by ABC-10 with status Done, ABC-20 with status Backlog and ABC-30 with status "In Progress".
The query should return ABC-20 and ABC-30.
Hi Paul,
Sadly you cannot achieve the desired search using standard features on Jira, you must go for a third-party app instead. Using i.e. JQL Booster Pack you can type the following:
Search for issues that blocks others issues OR linked issues with status != Done:
issue IN linkedIssuesOf("status != Done", "is blocked by")
Note that this is just an exaple, you must tune your query to fit your needs
Using this app you can also query other issues relations, check:
References:
Hope this helps you to create awesome queries <3
Kind regards
Hi Jack,
I should've mention I have ScriptRunner.
I'd prefer to use JQL with ScriptRunner's JQL extentions instead of be forced to use SQL.
Thanks for you reply.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Paul,
You can use the query I provided before on Script Runner as well.
However, you must note that you must query the issueFunction field instead
Use this
issueFunction IN linkedIssuesOf("status != Done", "is blocked by")
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried a lot of times, after all it seems so easy, but wasn't able to get correct results.
I could get ALL issues' blockers but couldn't get ONLY blockers for ONLY 1 specific issue.
REgards,
Paul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried using this query:
status != Done AND issueFunction IN linkedIssuesOf("key = ABC-1", "is blocked by")
In your example:
Issue ABC-1 is blocked by ABC-10 with status Done, ABC-20 with status Backlog and ABC-30 with status "In Progress".
The query should return ABC-20 and ABC-30.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, What query can I run if I need to know issues having confluence content or page linked?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.