We have 3 issue types
1.Bug
2. Root cause
3. Non Software
Root cause issue type will be linked with Both (Bug and Non Software) or (Bug or Non software)
Bug and Non software both has same issuelinktype "Causes" with Root cause.
Now i want JQL which gives Root cause ticket which linked with "Bug" only.
I tried below JQL but its giving both BUG and Non software which are linked with Root cause.
project = "Newhw" AND type = "Root cause" and issueLinkType="causes"
Is there any JQL which gives linked issue based on issuetype?
Hello @PLaksh11
That is not possible if you have only native Jira JQL functionality available to you.
It is possible with third party apps. Are you willing to consider getting an app that extends the capabilities of JQL?
Hi @Trudy Claspill ,
Thanks for the clarification. But then it can be filtered out via issuetype != "Non Software"
Correct JQL - Project = "Newhw" AND issuetype = "Root Cause" And issueLinkType = "causes" AND issuetype != "Non Software"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Prem
The Above Query is not working as per expectation. It still shows the Root cause ticket which has Non software.
we are using Script runner enhanced Search is it possible to get through it?
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.
Yes, you can get what you want with ScriptRunner using the linkedIssuesOf() function.
project = "Newhw" AND type = "Root cause" and
issueFunction in linkedIssuesOf("project='Newhw' and issuetype='Bug' and issueLinkType='is caused by' ") and
not issueFunction in linkedIssuesOf("project='Newhw' and issuetype='Non Software' and issueLinkType='is caused by' ")
The first part says you want Root Cause issues.
The second part says you want only Root Cause issues that are part of the set of issues that are linked to Bug issues with the relationship 'Bug is caused by Root Cause'.
The third part says you want to exclude Root Cause issues that are part of the set of issues that are linked to Non Software issues with the relationship 'Non Software is caused by Root Cause'.
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.
Hi @PLaksh11
if you're open to solutions from the Atlassian Marketplace, your use case should be easy to solve using the app that my team and I are working on, JXL for Jira.
JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you’d do in e.g. Excel or Google Sheets. It also comes with a number of so-called smart columns that aren’t natively available, including the linked issue types. You can easily filter your issues by these smart columns, like so:
Once you've narrowed down your list of issues, you can work on your issues directly in JXL, trigger various operations in Jira, or export your issues with just one click.
I should add that JXL can do much more than that: From support for configurable issue hierarchies, to issue grouping by any issue field(s), sum-ups, or conditional formatting.
Any questions just let me know,
Best,
Hannes
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.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.