Forums

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

Query to figure out linkes issue with certain issue type

olgaf_gmx_de November 22, 2023

Hi guys,

Is there a chance to filter all issues which are linked to a certain issue type? E.G. all stories which are linked to other stories? The issue functions hasLinkType, etc. do not work since they only refer to the link type not to the issue type.

 

Thanks and best,

Olga

2 answers

0 votes
olgaf_gmx_de November 22, 2023

Hello @Craig Nodwell

Thank you but this is not exactly what I wanted. With this query I get only the stories which have links but not those stories which are linked to other stories.

Maybe I can explain it better with a different example. I have stories and bugs. Some stories are linked to certain bugs some not not have links some stories are linked to other stories. I want to see all stories which are linked to at llest one tickeet with Issue Type "Bug". With your query above I only get the bugs with links but I want to see the stories with links.

Do you have a different idea?

Thanks.

0 votes
Craig Nodwell
Community Champion
November 22, 2023

Hi @olgaf_gmx_de welcome to the community.  You can include an AND clause to your jql.
issuefunction in hasLinkType("blocks") AND issuetype = Story.

Suggest an answer

Log in or Sign up to answer