Forums

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

Question regarding JQL query

Alex Afanasiev October 30, 2020

Hello, 

I need to retrieve an OPS ticket, that has another ticket(not OPS ticket) linked to it. 

When I do: "project = OPS", it doesn't show me the ticket that I need, but when I unlink them, it shows me the OPS ticket. How do I show all the OPS tickets and the ones that I link to other tickets(not OPS)?  

2 answers

0 votes
Marcela Junyent
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.
October 31, 2020

issueFunction in linkedIssuesOf("project = OPS")

That should get you all linkedissues to tickets od project OPS.

Alex Afanasiev November 2, 2020

Does this line go into JQL query such as  $"project = issueFunction in linkedIssuesOf(`project = OPS`) AND Client = '{clientName}'" or do I need to install script runner for this?

0 votes
Muhammad Ramzan(Atlassian Certified Master)
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.
October 30, 2020

Are you talking about 

 

 ops issues and their linked  issues?

Alex Afanasiev October 30, 2020

Yes.

Muhammad Ramzan(Atlassian Certified Master)
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.
October 31, 2020

you need a third party plugin like scriptrunner or JQL Search Extensions for Jira & reports 

 

 

Get all linked tickets to ops, if you want not linked with ops then project!=ops

 issue in linkedBy("project=ops)

Suggest an answer

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

Atlassian Community Events