Forums

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

Filter to retrieve results for linked tickets

WasimBuden
Contributor
April 11, 2020

What filter should I use to get results of tickets which are linked to a project in Jira from a project in Jira service desk?

Example: We have a project in Jira Service Desk (customer-facing) where a customer reports a bug and we create a linked ticket in a Jira Project which is used by developers, I should be able to retrieve results of all tickets open in that Jira project by JSD project.

Condition 2: I need a list of tickets opens in a Jira project by link ticket in the JSD project which has not been updated for the last 3 days. 

1 answer

1 accepted

0 votes
Answer accepted
Mohamed Benziane
Community Champion
April 11, 2020

Hello @WasimBuden 

 

You can use the jql field (issue link type) this will retrieve all issue with a particular link type.

Project = abc and issuelinktype("relates to")

You can use multiple link type in the same clause.

 

For the second condition :

Project =abc and issuelinktype ("block") and updated <= "-3d"

 

Hope this helps

WasimBuden
Contributor
April 11, 2020

Screenshot 2020-04-11 at 23.56.14.png@Mohamed Benziane Thank you for your reply, it dint work. Maybe I am doing something wrong? is there a space b/w 

issuelinktype("relates to") 

?

Also, what I am trying to achieve is. See below:

1. I have a project called -> INC and tickets in this project are linked to a project called 'Snyper' by creating a 'Linked ticket' option. So I need a filter where I can see all tickets created in the 'Snyper' project using the 'Linked ticket' option in the 'INC ' project.

Mohamed Benziane
Community Champion
April 11, 2020

Try this

issueLinkType in (contains,"relates to")

Which type of link do you use to link ticket between the two project ? 

WasimBuden
Contributor
April 12, 2020

Hi @Mohamed Benziane we use these.Screenshot 2020-04-12 at 15.20.07.pngScreenshot 2020-04-12 at 15.19.31.png

WasimBuden
Contributor
April 12, 2020

I used above 

issueLinkType in (contains,"relates to")

But I get below error, please forgive me I am new to Jira : 

 

Screenshot 2020-04-12 at 15.22.34.png 

Mohamed Benziane
Community Champion
April 12, 2020

My previous answer was just an example you need to replace the linktype with the one you use, so in you case is 

Issuelinktype("is blocked by", "blocks")

Hope this helps 

WasimBuden
Contributor
April 12, 2020

Thank you.

Suggest an answer

Log in or Sign up to answer