Several of the JQL methods seem to indicate they are invalid for the 'issue' field. For example:
project = cdev and issue in hasTestCoverage()
project = cdev and issue in coveredByTestCasesHavingField("status", "Draft")
project = cdev and issue in hasTestResult()
project = cdev and issue in hasAllLastTestResults("Pass") <-- works with "Fail"
project = cdev and issue in hasAnyLastTestResults("Pass") <-- works with "Fail"
I've been able to use some, but the above all give me the "invalid for ... 'issue'" error.
I tried to reproduce this issue here on my environment with no success. For example, the first query using hasTestCoverage() works for me. I'll help you to troubleshoot this problem.
What JIRA and Kanoah Tests version are you using? Could you please post a screenshot of your error message?
I've setup an environment here using your JIRA/Kanoah Tests versions but I couldn't reproduce the issue.
Could you please check your server log (<jira-install-dir>/log/catalina.out)? Maybe we can find something useful there displaying exactly what is the error.
Also, which Java version are you using?
If you prefer, you can send me the logs through our support site or by email (firstname.lastname@example.org).
I don't see much related to Kanoah. There are a few REST API errors that I think correspond to our experimenting with the API but aren't actual plugin errors. And I also see this line twice – once yesterday, once today:
2017-03-16 10:23:23,590 http-bio-8080-exec-6 ERROR mvanorma 623x62041x1 1t3n5ib 10.52.6.115,10.1.1.27 /issues/ [jira.groovy.jql.ScriptedJqlFunction] Fatal error in scripted JQL functions - try disabling and re-enabling the Script Runner plugin
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG