Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL function "testPlanTests" is not working with me anymore?

Mai Ashraf
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!
March 5, 2026

When I use "testPlanTests()" to get the TCs in my plan, it shows me a error message:
"Unable to find JQL function 'testPlanTests()'."

I don't know if this became not used anymore, yet it's documented in the Xray functions page Xray Server + DC - XRAY view


2 answers

Suggest an answer

Log in or Sign up to answer
2 votes
Jack Brickey
Community Champion
March 5, 2026

Hi @Mai Ashraf , that isn't a native JQL. As you mentioned Xray I suspect it is/was a function of that addon. You might reach out to Xray support to inquire.

Mai Ashraf
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!
March 5, 2026

Hi @Jack Brickey 
Thanks for reaching me out, I will check them. Yet until I figure out, is there any native JQL function can be used to get all the TCs in my test plan on jira ?

Jack Brickey
Community Champion
March 5, 2026

Hi @Mai Ashraf , sorry for the delay in getting back to you. No negatively Jira does not manage test cases just work items. The specific concept of test cases is generally offered by add-on applications, like x-ray. Now, if all of your test cases have a unique work, item type, or some other unique characteristics, such as label, then you could use JQL for those scenarios.

0 votes
Marc -Devoteam-
Community Champion
March 5, 2026

Hi @Mai Ashraf 

Welcome to the community.

This is an Xray provided JQL function on Server/DC, but this function is not usable in Cloud based on the complete different architecture. SO Xray is not able to use such functions anymore in Cloud.

See the Xray documentation on JQL functions in Cloud; Enhanced+Querying+with+JQL 

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events