We have a requirement to build a report/dashboard to get data on all the tickets that does not have linked issue of certain issue type.
eg. We need list of Incident tickets that doesn't have any Problem tickets linked to it.
Please assist
Hi @Jay Rajaram
You need the third party add-on app ScriptRunner for Jira.
We need to use the nested filter here to fetch the required result:
Project = xyz and issuetype = Incident and issuefunction in linkedIssuesOf("project = xyz and issutype != Bug")
Hope this will help.
Regards,
Ankit Srivastava
Not possible with inbuilt Jira using JQL
Scriptrunner add-on have advanced JQL Function search
https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html
Thanks,
Pramodh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use below as below functions will not work in cloud version and may need different payment.
issue in( linkedIssues(Key)) and issuetype in (bug. Story)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, @Jay Rajaram
As you're on Jira Cloud, the correct answer is to get an app that provides JQL extensions you're looking for.
With standard JQL, you can only get a list of issues and export them to Excel for further processing. This works if you want to do a one-off analysis. If your use case is more dynamic, look beyond standard Jira.
Standard JQL doesn't easily allow it, but you can quickly find the results using our professional indexing service JQL Search Extensions
You can use this query to find all your Incident tickets that don’t have any Problem tickets linked to them.
issue in linkedIssuesOfQuery("project=TestProject and issuetype != Problem") and issuetype = incident
Check out the documentation for more examples.
I hope this helps!
Maurício
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.