Need to access "Test Details" field using JQL Query
Asked by YAZAN:

Hi,   

On jira cloud, i unable to access "test details" field using JQL Query.   
Using jira server i were able to access using manual test steps   
is there any way to search this using JQL on cloud Environment ?   
![Untitled.png](https://community.atlassian.com/t5/image/serverpage/image-id/341111iA9812705F5E25222/image-size/large?v=v2&px=999 "Untitled.png")  


Answers:
author: Information of World
body: To access the "Test Details" field using a JQL (JIRA Query Language) query, first identify the custom field ID for "Test Details" by navigating to JIRA Administration \> Issues \> Custom Fields. Once you have the field ID, you can use JQL to query issues based on values in this field. For a basic text search, use "Test Details" \~ "search term", where "search term" is the value you're looking for. For an exact match, use "Test Details" = "exact value". To find issues where the field is empty or non-empty, use "Test Details" is EMPTY or "Test Details" is NOT EMPTY, respectively. For more complex queries, combine conditions with logical operators such as AND, OR, and NOT, like "Test Details" \~ "keyword" AND status = "Open". Ensure you have the necessary permissions and that the custom field is indexed and visible for searches.

comments: author: YAZAN
body: custom field ( CF ) is not supported as an entity on jira cloud , that can't be work


author: Trudy Claspill
body: Hello [@YAZAN](/t5/user/viewprofilepage/user-id/5565689) and [@Gal Mircus](/t5/user/viewprofilepage/user-id/5565691)

Welcome to the Atlassian community.

That does not appear to be native Jira Cloud functionality. What third party app are you using to add that functionality?

Have you reviewed the vendor's documentation?

Often there is not exact feature parity between the functionality of an app on Jira Server/Data Center and the same app on Jira Cloud. The architecture of Jira Cloud is different. Vendors are not able to install their apps directly on the server where Jira resides. Apps are not able to access the Jira database directly, which is how many of them created their custom entities in Jira Server/DC. Because of this they may have a different implementation which could impact how you can access their custom entities. If you review the vendor's documentation you may find that there are different instructions for accessing the data.

comments: author: YAZAN
body: Im talking about XRAY plugin on jira cloud.   
No information on how to extract XRAY Plugin test details using JQL Query on jira cloud Environment


author: Trudy Claspill
body: Hello [@YAZAN](/t5/user/viewprofilepage/user-id/5565689)

I have not actually used the Xray plugin.

Looking just at the documentation

<https://docs.getxray.app/display/XRAYCLOUD/Quick+Setup>

...Xray appears to leverage custom Issue Types to track tests, so you can at least query based on Issue Type.

I also found this page concerning Enhanced Querying with JQL:

<https://docs.getxray.app/display/XRAYCLOUD/Enhanced+querying+with+JQL>

As per that page, there is no JQL to support querying based on Test Details.


author: Gal Mircus
body: Same problem...


Tags: cloud

jira-cloud