Forums

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

I want a List of linked tasks/bugs of a scpecific task in a filter

Baqir Ali January 10, 2023

Has anyone who worked in JQL?scrnli_1_11_2023_12-08-07 PM.png Actually, I want a List of all those issues that are linked with any issue. I can get subtasks but I am unable to get linked tasks/Bugs in the filter

3 answers

1 accepted

1 vote
Answer accepted
Fabio Racobaldo _Catworkx_
Community Champion
January 11, 2023

Hi @Baqir Ali ,

welcome to the Atlassian community!

You can use linkedIssues() in your jql :

linkedIssues()

Searches for issues that are linked to an issue. You can restrict the search to links of a particular type. 

Syntax
linkedIssues(issueKey)
linkedIssues(issueKey,CaseSensitiveLinkType)
Supported fields Issue
Supported operators IN , NOT IN
Unsupported operators = , != , ~ , !~ , > , >= , < , <= IS , IS NOT , WAS , WAS IN , WAS NOT , WAS NOT IN , CHANGED
Examples
  • Find issues that are linked to a particular issue:
    issue in linkedIssues(ABC-123)

  • Find issues that are linked to a particular issue via a particular type of link:
    issue in linkedIssues(ABC-123,"is duplicated by")

Baqir Ali January 11, 2023

lINKEDISSUES.JPG

lINKEDISSUES.JPG

Baqir Ali January 11, 2023

I want to create filter for these issue? what will be exact syntax?

scrnli_1_11_2023_4-22-20 PM.png

Fabio Racobaldo _Catworkx_
Community Champion
January 11, 2023

issue in linkedIssues("COMMAND-440")

Like Baqir Ali likes this
1 vote
Mohamed Benziane
Community Champion
January 11, 2023

Hi,

Welcome to the community

You can use the linkedIssues() function

linkedIssues(issueKey)

linkedIssues(issueKey,CaseSensitiveLinkType)

https://support.atlassian.com/jira-service-management-cloud/docs/advanced-search-reference-jql-functions/#Advancedsearchingfunctionsreference-linkedissuelinkedissues 

0 votes
Ste Wright
Community Champion
January 11, 2023

Hi @Baqir Ali 

For a single Issue, use this JQL:

issue in linkedIssues("<Key Here>")

or

issueLink = <Key Here>

Ste

Baqir Ali January 11, 2023

Can you share exact syntax ?

scrnli_1_11_2023_4-22-20 PM.png

Ste Wright
Community Champion
January 11, 2023

Hi @Baqir Ali 

issue in linkedIssues("COMMAND-440")

or

issueLink = COMMAND-440

 Ste

Suggest an answer

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

Atlassian Community Events