Hello.
I want to be able to compare the priority of tickets between the original ticket and the linked issue ticket using JQL - is that possible?
For example, I create a ticket and set the priority as High but a linked issue gets added to it and the priority is Medium.
I want it so that the priority of the linked issue ticket matches that of the original ticket. But first I need to know all the tickets whose linked issue priority doesn't match.
Any help on this would be much appreciated.
Here's JQL I have but I am not sure it is correct:
project in (ProjectA, ProjectB) AND created >= 2021-05-17 AND priority = High AND issueLinkType is not EMPTY AND priority != High
Hi Ian,
Unfortunately you can't do that in Jira Cloud natively.
You can only search for issues with links to a specific issue, for example:
project in (ProjectA, ProjectB) AND priority = High AND issue in linkedIssues(PRJA-2)
You can learn more about JQL and JQL functions here: https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-functions/
If you really need to perform such search: you will need to use an app for that... one of the most famous app for advanced JQL for Jira Cloud is JQL Search Extensions for Jira - the JQL extensions:
It hope this helps.
Cheers,
Dam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 than that, 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
With this query, you’ll be able to find all the linked issues that are in high priority with the other issue with a different priority:
project in (ProjectA, ProjectB) and created >= 2021-05-17 and issue in linkedIssuesOfQuery("priority = high") and priority != High
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.
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.