Search code examples
kiwi-tcms

Find out all testcases not assigned to a test plan in Kiwi TCMS


Is there a way to find out all testcases not assigned to a test plan?

We have many test cases and it is difficult to find out which test cases have not yet been assigned to a test plan.


Solution

  • So finding test cases which are not attached to a Test Plan is possible, but not very handy ATM. Please open an issue on GitHub to request an enhancement for the Test Case search page.

    If you use the JavaScript API inside a browser's console then the following will work for you:

    jsonRPC('TestCase.filter', {plan:4638}, console.log) - will filter all test cases attached to TP 4638.

    jsonRPC('TestCase.filter', {plan:null}, console.log) - will filter all test cases which are not attached to any plans. On https://public.tenant.kiwitcms.org currently this returns 117 cases.

    Disclaimer: this answer has been provided to you by a Kiwi TCMS team member.