Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • How can we use JQL to search for content inside of test steps/scenarios after the move to cloud?

How can we use JQL to search for content inside of test steps/scenarios after the move to cloud?

Howard Bailey
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 14, 2026

Hello, How can we search for content inside of test steps/scenarios after the move to cloud as the field "scenario" isnt found?  

2 answers

1 vote
Marc -Devoteam-
Community Champion
July 14, 2026

Hi @Howard Bailey 

Welcome to the community.

You can't JQL on test steps, if you use Xray in this case, but you can use the GraphQL of Xray to do this (https://us.xray.cloud.getxray.app/doc/graphql/step.doc.html )

Are you using Xray or another Test app, look at the documentation of the app.

0 votes
James Gamble
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 14, 2026

Hola Howard,

@Marc -Devoteam- is correct if you’re using Xray. After moving to Xray Cloud, the test definition, including manual steps and Gherkin scenarios, isn’t stored as a normal Jira custom field that JQL can search. That’s why the old Scenario field is no longer available in the JQL field list.

JQL can still narrow the search to a set of Test issues using normal Jira fields and Xray’s JQL functions, but it can’t perform a text search inside the step action, data, expected result, or Gherkin scenario itself.

For searches inside the actual test definition, you’d need to retrieve the Tests through Xray’s GraphQL API and inspect the steps, unstructured, or Gherkin values. The getTests query accepts JQL to identify the initial set of Tests, then returns their step content so your script or reporting tool can search it.

For example, you could first limit the results to a project and Test issue type using JQL, retrieve the test definitions through GraphQL, and then filter the returned steps for the word or phrase you need. That won’t return a native Jira search result without additional scripting or an app, but it’s the supported way to access that content in Xray Cloud.

If you’re using a different test management app, the answer may be different because each app stores its Cloud test data differently.

Thanks,

James

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events