Forums

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

JQL Query Help - is it possible ?!

Pedro Webster February 13, 2023

Hello everyone,

I want to create a JQL that shows Issues that has a link to Issues from specific projects, something like:

Hierarchy: Issue Father  "contributes to"  Issues in projects (project 1, 2, 3...)

return
>list of Issue Father

Help! 

2 answers

0 votes
mauricio.groth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2023

Hi @Pedro Webster

I’m Maurício, a support engineer at Digital Toucan and I’m here to help you.

Unfortunately, using JQL of Jira, you’ll not be able to do it.

In the app where my team works, JQL Search Extensions for Jira, we have the aliases LinkedByIssueProject that works searching for issues that are linked by issues from a particular project. 

  • For example, to find all issues which are linked by issues from project A:
linkedByIssueProject = A

We also have the opposite, LinksIssueProject which searches for issues that link to issues from a particular project. 

  • For example, to find all issues which link to issues from project A:
linksIssueProject= A

Please contact our support if you have any other questions about this query. 

We’ll be happy to help you!
Best regards,
Maurício

0 votes
Venugopala Naidu
Contributor
February 13, 2023

@Pedro Webster 

1. You can use linkedIssues() JQL as described here https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-functions/

issue in linkedIssues(AA-1,"relates to")

 2. By using script runner for Jira cloud:

Only thing is here to use the nested filter to fetch the required result:


Project = XXX and issuetype = Story and  issuefunction in linkedIssuesOf("project = XXX and issutype != Bug")

Suggest an answer

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

Atlassian Community Events