Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JQL query for finding issues with link type "depends on" that link to issues from other projects

Currently I am using this JQL query (in combination with Scriptrunner) to get issues that are linked to other issues using the link type "depends on":

issueFunction in linkedIssuesOf("statusCategory!=Done", "depends on")

 

This also finds issues where the link is between issues of the same project. What I am looking for is a way to only find issues with depends on links, that link to an issue of another project, without explicitly having to name the project keys in the query (since they can change all the time). My goal is to find out/visualize cross team dependencies.

1 answer

@flaimo try this:

issueFunction in linkedIssuesOf("project != 'Project A' and statuscategory != Done", "has to be done before")

If you are monitoring this from a program perspective instead of from Project A's perspective, it might instead look like:

project = "Project A" and issueFunction in linkedIssuesOf("project != 'Project A' and statuscategory != Done", "has to be done before") or project = "Project B" and issueFunction in linkedIssuesOf("project != 'Project B' and statuscategory != Done", "has to be done before") or project = "Project C" and issueFunction in linkedIssuesOf("project != 'Project C' and statuscategory != Done", "has to be done before")

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you