I have criteria for a baseline set of issues that looks like (project = "X" AND ("Epic Link" = A OR "Epic Link" = B OR "Epic Link" = C) AND labels = label1)
Need a JQL query that will provide all Jiras linked to the set returned from the above where the issuelinktype is "is resolved by" even if the Jira that resolves one of them is in a different project (or for some reason does not have an epic link referenced in the above).
Is that possible?
Any help much appreciated.
Hello @Ryan ! Welcome to the Atlassian Community!
The JQL snippet you're looking for is the following.
issueLinkType = "is resolved by"
This one is going to ignore the project and Epic Link limitations. If you want this to apply with project and Epic Link limitations, you'd append and add an AND, but that's going to limit it to the project and Epic Links.
Hi @Robert Wen_Cprime_Robert Wen_ReleaseTEAM,
I am familiar with issueLinktype, but how do I incorporate that into the baseline query such that I get a results set described as follows:
(project = "X" AND ("Epic Link" = A OR "Epic Link" = B OR "Epic Link" = C) AND labels = label1) provides 300 Jiras. These 300 Jiras have 500 Jiras across various projects that are linked to the original 300 with "is resolved by" (and many more linked issues with other linktypes I do not want to see).
I'm trying to return the 500 that are linked to the 300 by "is resolved by"
Thanks a bunch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is ScriptRunner an option? There's an enhanced JQL function in ScriptRunner called linkedIssuesOf()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
good question. I tried using it and the drop down recognizes the funtion, but I always get the orange ! for syntax when I try:
Query 1:
issueFunction in linkedIssuesOf ((project = "X" AND ("Epic Link" = A OR "Epic Link" = B OR "Epic Link" = C) AND labels = label1), "is resolved by")
Or I try this:
Query 2:
linkedIssuesOf ((project = "X" AND ("Epic Link" = A OR "Epic Link" = B OR "Epic Link" = C) AND labels = label1), "is resolved by")
The baseline query always works: (project = "X" AND ("Epic Link" = A OR "Epic Link" = B OR "Epic Link" = C) AND labels = label1)
Is something wrong with the structure of the query 1 or 2 syntaxwise?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
to clarify, I get this error: "Error in the JQL Query: Expecting ')' or ',' but got 'XYZ'. (line 1, character 47)"
for the query issueFunction in linkedIssuesOf ((project = "XYZ Project" AND ("Epic Link" = A OR "Epic Link" = B OR "Epic Link" = C) AND labels = label1), "is resolved by")
seems like the space in the project name is messing something up
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What about the following?
((project = "XYZ Project") AND ("Epic Link" = A OR "Epic Link" = B OR "Epic Link" = C) AND (labels = label1))
or if you want to keep the number of parentheses smaller,
(project = "XYZ Project" AND "Epic Link" in (A,B,C) AND labels=label1)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline 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.