Forums

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

I am looking to show changes that cause incidents by using the linked issue caused by

Elaine McMillan
Contributor
November 5, 2021

I am looking to build filters/dashboard that shows me changes that caused incidents. Is there any way to report on linked issues and if so specifically the linked issue relationship which is this case "is caused by" 

2 answers

1 accepted

3 votes
Answer accepted
Kristján Geir Mathiesen
Community Champion
November 5, 2021

Hi @Elaine McMillan 

Out of the box Jira is fairly limited when it comes to searching linked issues. Basically lets you search for issues linked to a certain issue.  See below which is taken from https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-functions-reference-939938746.html  Do believe you need a third party app to achieve this.

linkedIssues()

Perform searches based on issues that are linked to a specified issue. You can optionally restrict the search to links of a particular type. Note that LinkType is case-sensitive.

Syntax
linkedIssues(issueKey)
linkedIssues(issueKey,linkType)
Supported fields Issue
Supported operators IN , NOT IN
Unsupported operators = , != , ~ , !~ , > , >= , < , <= IS , IS NOT , WAS , WAS IN , WAS NOT , WAS NOT IN , CHANGED
Examples
  • Find issues that are linked to a particular issue:
    issue in linkedIssues(ABC-123)

  • Find issues that are linked to a particular issue via a particular type of link:
    issue in linkedIssues(ABC-123,"is duplicated by")

 

HTH,
KGM

Elaine McMillan
Contributor
November 5, 2021

any suggestion on 3rd app?

Kristján Geir Mathiesen
Community Champion
November 5, 2021

@Elaine McMillan  ScriptRunner could be one. Here are their top 10 JQL functions -> https://www.adaptavist.com/blog/top-10-most-commonly-used-jira-query-language-functions 

HTH,
KGM

1 vote
Daniel Turczanski - JQL Search Extensions
Atlassian Partner
November 10, 2021

Hi @Elaine McMillan,

With standard JQL and the linkedIssues function, you can only find the linked tickets if you know the exact issue keys.

Standard JQL doesn't easily allow it, but you can find the results quickly using our professional indexing service JQL Search Extensions

After you install the app, you can simply search:

issue in linkedIssuesOfQuery("project=ACME", "is cause by")

Check out the documentation to see more examples.

I hope this helps!

Daniel

Suggest an answer

Log in or Sign up to answer