Forums

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

JQL Query: Show all issues that are in (any type of) relation to issues that are assigned to me

Chris K
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.
March 9, 2023

Dear Jira Community,

As the title states, I am looking for a JQL query that shows all issues that are in (any type of) relation to issues that are assigned to me. Already tried different approaches but failed. Happy, if you could help me out :)

 

Kind regards

Chris

1 answer

1 accepted

1 vote
Answer accepted
Barnali Putatunda
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.
March 9, 2023

Hi,

The built-in JQL function linkedIssues(issueKey) does not allow the flexibility that you want to achieve here.

If you have Scriptrunner in your Jira instance, you can get it using this JQL function: 
linkedIssuesOf(Subquery, [link name...])

So, for your case the JQL would be like this:
issueFunction in linkedIssuesOf("assignee= xxxxxx")

Chris K
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.
March 15, 2023

Thank you for your help @Barnali Putatunda

I'll try to get this running with Jira PowerScripts instead of Scriptrunner.

Suggest an answer

Log in or Sign up to answer