Hello,
I am trying to create JQL that should itself use another JQL. From the output of the first, I want to check a specific field and then show data is it even possible?
For Example :
Xray Test Set contains multiple tests.
My first query is on test sets which fetches me multiple test sets and then I want to iterate over each test present inside each test set.
Please let me know what could be the solution to this.
Thanks in advance.
Regards,
Tanuj
Hello Tanuj,
Welcome to Atlassian Community!
You can reference other filter queries in a JQL query by using the parameter filter. Let me give you an example:
- You created a filter called "Epics" and saved it with the following query:
Issuetype = Epic
- Then, you decided that you would like to return in a JQL Query all the issues returned from "Epics" filter there are in the project "TST". You just need to perform the query below:
project = TST and filter = Epics
Let me know if this is the option you are looking for.
i created one filter "filter name"and tried to use it another query but when i say "filter = ' filter name'" i didnt get that filter as an option
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Narasimha,
Are you adding two quotation marks with the apostrophe as you mentioned or you just added it to reference in the community message?
"filter = 'filter name'"
You should search with the two quotation marks only in the filter name. Like this:
filter = "filter name"
Additionally, make sure you are not running the filter over the same filter since it will cause a cyclical reference. Explaining better:
Ensure that you are not running the filter query when editing the same filter referenced in the query, like in the screenshot below:
That been said, ensure you clicked on Search Issues option to perform your search, and not in the filter itself.
Let us know if it helps.
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.