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

How to find all linked tasks with specific links?

Hi!

There are lots of questions about how to find linked tasks with JQL, but can you please advise.

I need to find all epics and features (in a specific project) that do NOT have linked issues with the following link types: parent, associated with, etc.

I tried to use "issueFunction in hasLinks" but I'm nor sure how to:

1) include all link types,

2) how to place "not",

I use "issueFunction in hasLinks" because I need only outbound links.

Thanks!

2 answers

0 votes
Muhammad Ramzan Community Leader Oct 08, 2020

You might need to use some JQL plugins like JQL Search Extensions for Jira & reports 

 

Here is example how to use the query

Find issues which are blocked by issues from project JQL with priority = Highest. 

issue in linkedBy("is blocked by", "is related to", "project = JQL AND priority = Highest")

 

Reference:

https://jqlsearchextensions.atlassian.net/wiki/spaces/SEARCH/pages/30497099/JQL+Reference+Server#JQLReference(Server)-LinkType

hi @Aleksandra Repina 

If you want to get the list of issues linked to a specific issue, use the built in JQL function linkedIssues(issueKey).

If you want to get the list of issues linked to a specific issue with a specific link type, use the built in JQL function linkedIssues(issueKey, linkType).

Hi, thanks!

 

It will not work as the idea to find all issues that do not have specific link type.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

455 views 2 6
Read article

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