Forums

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

how to filter value in "links"

David Frinta May 14, 2020

hello,

 

how do i filter all entities in link with certain format like DEV(that is same for all appearances) and then some numbers

so for example i have in links for different bugs values like DEV-123, DEV-321

 

i need to filter just the bugs with this "DEV-xxx" value

 

thank you

 

2 answers

1 accepted

0 votes
Answer accepted
Jack Nolddor _Sweet Bananas_
Atlassian Partner
May 14, 2020

Hi David,

Sadly you cannot achieve the desired search using standard features on Jira, you must go for a third-party app instead. Using i.e. JQL Booster Pack you can type the following:

 

1) Query for issues linked to any DEV ticket

issue IN linkedIssuesOf(' project = DEV ')

2) Query for issues DEV project having links

project = DEV AND issues IN haslinks()

3) Query for issues on DEV project linked to a subset of issues provided by another JQL

project = DEV AND issue IN linkedIssuesOf(' project = ANOTHER and status = Done ')

(*) Note that this is just an example, you must tune above query to fit your needs.

 

Using this app you can also query other issues relations, check:

 

References:

David Frinta May 14, 2020

thank you very much 

0 votes
Danyal Iqbal
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.
May 14, 2020

as far as i know, you cannot do that with the standatd jql functions. check out the scriptrunner JQL functions for this function

https://scriptrunner.adaptavist.com/4.3.1/jira/jql-functions.html

David Frinta May 14, 2020

thank you

Suggest an answer

Log in or Sign up to answer