My team needs to find all X-ray tests that have a specific string in a test step. What is the JQL to search for that?
A simple "type = test and text ~ blah" returns nothing.
Check the end of this link: https://docs.getxray.app/display/XRAY/Enhanced+querying+with+JQL
issuetype = 'Test' and "Manual Test Steps" ~ "Login with user administrator"
Works best in "Flat View". Just replace the text "Login with user administrator".
Hi Michael, we have tried but it does not work for us.
FYI I'm administrator and we have also tried with other administrator accounts.
I assume Flat view refer to List view?
Any other suggestions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yvonne,
You don't need to have an administrator account to search.
I just went under the "Xray Test Repository" from the menu on the left in Jira, selected the folder I wanted to search under, then clicked "Filter" top right, then "ADVANCED", then entered my JQL Search query:
issuetype = 'Test' and "Manual Test Steps" ~ "<Text to search for>"
I click Apply and to search all child folders rather than just the selected one, I clicked "Switch to Flat View" top right. After clicking the text changes to "Switch to Folders View". In Flat View though I can see all the results in all the sub-folders too.
It could be though that this field is a custom field (although I doubt it as it's listed in the documentation I linked to above) or the field has a slightly different name or is in a different language if you're not using English. Try deleting the text "Manual Test Steps" and then a list of available fields will appear - have a look through the list for something similar.
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.
I have the same. In CLOUD instance. The search seems to locate information in the Description field. I am specifically attempting to search the text within the Manual Test Step fields.
The above is handy to most of the fields, but is misleading as it does not appear to search within Action, Data, or Expected Result.
Or a custom addition, which is what the teams are subtly asking for:
Them: "Can we have a "Requirement" test step field?"
Me: "Yes!" :adds the field:
Them: "Why can't I find the Test Steps that link to a Requirement? You said we could have a Requirement test step field,... what good is it if we can't search and filter based on that field?"
Me: :facepalm:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would very much like to know if this is possible. I'm not an admin user. My company heavily uses and reuses test steps and it would be very useful to be able to easily track down the ones we need.
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.