Forums

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

How to find tests which haven't executed ?

Sonia Dhir
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!
November 13, 2019

Hi All,

We're really struggling to find out the list of tests which haven't executed yet. Can  someone please help me how can we find using Basic or advance search in jira ?

is below the correct ?

issuetype = Test and TestRunStatus = FAIL AND issueFunction not in hasLinks("created by")

I am trying to execute above query but getting error that 

  • Field 'TestRunStatus' does not exist or you do not have permission to view it.
  • Field 'issueFunction' does not exist or you do not have permission to view it.

I have Site Admin access to Jira. Do I need another access to view the tests which we didn't execute yet?

Jira Issue.PNG

2 answers

1 vote
e.melodia
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!
November 19, 2020

If you have a JIRA cloud account, then the Xray JQL capabilities will be very limited compared to a server installation:

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

vs

https://docs.getxray.app/display/XRAY/Enhanced+querying+with+JQL

0 votes
Bogdan Gorka
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 Leaders.
November 14, 2019

Let's take it one by one

Field 'TestRunStatus' does not exist or you do not have permission to view it.

You gave not enough information about your configuration. What is TestRunStatus? Is it a status or a custom field? Have a look at your workflow and issue screen and give more information what it is.

Field 'issueFunction' does not exist or you do not have permission to view it.

Here you are trying to use a function provided by an app ScriptRunner. Do you have this app installed? If yes, have a look here about its usage with issue linking https://blog.valiantys.com/en/expert-tips/jql/

Then, if you know more or less how it works, let me know what are you trying to achieve with this function.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events