JQL to show all Dependencies linked to mentioned Epics

Troy
Contributor
June 5, 2023

Hello, hope everyone doing well.

I am trying to list all the dependencies against some particular epics.

The below JQL is working fine with 1 Epic:

project = XYZ AND issuetype = Dependency AND component = "ABC" AND status!= Rejected AND "Dep Give/Get[Dropdown]" = Get AND issue in linkedIssues  ("Epic-1")

Please can someone help me expand that to include multiple epics and not just one.

I am fine with a new JQL all together as long as it serves my purpose :) Thanks!

1 answer

0 votes
Ditte Simard
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 5, 2023

Hello @Troy

You should be able to do something like the following:

issueFunction in linkedIssuesOf("issuekey in (XYZ-1, XYZ-2, XYZ-3), "addresses")

That query will return all issues that have a "is addressed by" link type with the Epics listed in the first sub-query.  If you change the link type to the dependency link type you are searching for, you should be all set!

Here is documentation for this jql function:  https://docs.adaptavist.com/sr4js/latest/features/jql-functions/included-jql-functions/issue-links

Troy
Contributor
June 5, 2023

Thanks for your response @Ditte Simard 

I tried using the below query from the documentation link you provided for a basic test and got an error, don't suppose I will be able to use the query you gave.

issueFunction in epicsOf("resolution = unresolved")

image.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events