Forums

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

Get all linked issues

Deleted user February 20, 2019

I have a internal defect filter which has lots of projects included. Each of the defects can be linked to another defect . I would like to filter all linked issues which are of specific type and filer those out. It's like 

project in (bbb,ccc,xxx,yyy) AND issuetype in (Bug, "Internal Defect") AND status in ("In Progress", Resolved, "To Do", Blocked) AND assignee in ( aa,bb,cc) and linked issues like ('PLAT%")

 

2 answers

3 votes
Grigory Salnikov
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 20, 2019

Hi @[deleted] and welcome to our Community!

Please, have a look at the following:

Get list of linked issues - how to?

Hope it helps.

2 votes
Alexey Matveev
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 20, 2019

Hello,

Use the linkedIssues JQL function:

issue in linkedIssues(ABC-123,"is duplicated by")

You can find more info here:

https://confluence.atlassian.com/jirasoftwareserver073/advanced-searching-functions-reference-861256240.html#Advancedsearching-functionsreference-linkedIssueslinkedIssues()

Deleted user February 20, 2019

I want all linked issues. I don't  want to specify the linkedissues in the query. Is there way I can do this 

 

 

Like Issue in linkedIssues like (ABC*) and it brings any linked defect that has a prefix abc?

Deleted user February 20, 2019

issue in linkedIssues(abc*,"is blocked by") . Can I do this?

Alexey Matveev
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 21, 2019

You cant, you would need a plugin for it. There are multiple plugins for it: Power Scripts, ScriptRunner, Jtricks, JQL Extensions for Jira.

If you want to use the Power Scripts add-on, your JQL query would look like this:

key in hasLinksOfType("project = ABC", "Blocks")

You can find more information here:

https://confluence.cprime.io/display/JJUPIN/Pre-defined+JQL+functions#Pre-definedJQLfunctions-hasLinks

Like Grigory Salnikov likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events