Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

function "testPlantTests" in JQL doesn't unable



I would like to see with a JQL filter all the Test Execution link to a specific test plan. 

Documentation recommended to execute this type of JQL : issue in testPlanTests("ECTR-142") but the result is "Unable to find JQL function" 

Any idea ? 

3 answers

1 vote
Jarosław Solecki Marketplace Partner Feb 05, 2021

@Caroline Peret Hi Caroline, 

what application for TM do you use? 

Hi @Caroline Peret 

The Xray Cloud and Xray Server are two different products since the architectures, Cloud and Server, are very different. Although we want to have the same feature set on both apps, some features are not available on one of the platforms (due to architecture differences).

And this is the case here; the JQL functions you refer are only available on the Server.

Since you are using Xray Cloud, please use the Xray Cloud documentation as reference ( for the product features.

Kind regards,
Rogério Paiva [Xray Support Team]

Hi @Rogerio Paiva 

I'm trying to use a JQL containing testPlanTests and I get 'Field 'testPlanTests' does not exist or you do not have permission to view it' on the Server.

Could you please advise what could be the issue?


Thank you!


0 votes

Hi @Caroline Peret Welcome

Your query issue in testPlanTests("ECTR-142") will result out all the tests related to the test plan "ECTR-142" will not give you the associated executions to a plan.

for your error - JQL not found, this is mainly due to a version issue of your Query engine.
There could have been an update in your Query engine (like scriptrunner) check with your Jira admin about this topic, hence you get such an error.

check this old thread:

Note: Accept an answer when you get an answer, I removed the accept answer from this thread, because the previous answer was more of an investigative question rather than an answer :) 

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you