Forums

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

JQL Query that would shows linked issues that belong to different teams

Patrick Sullivan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 6, 2024

I am trying to create a filter that would essentially show external team dependency. What I want is a filter that would show tickets that have linked stories in them, and them filter out stories where all the linked stories are the same team. Is there a JQL query that can do that?

1 answer

0 votes
Trudy Claspill
Community Champion
September 6, 2024

Hello @Patrick Sullivan 

Welcome to the Atlassian community.

The native linkedIssues() function will require you to enter just a single "source" issue (the issue to which the results issues are linked).

https://support.atlassian.com/jira-software-cloud/docs/jql-functions/#linkedissue

You would have to have that function in your JQL multiple times if you have multiple "source" issues.

If you want to then exclude issues with a specific value in the Team field you would add that as additional criteria:

Team != TeamName and (issue in linkedIssues(ABC-1) or issue in linkedIssues(ABC-2))

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events