Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Please execute the steps below to fix the counters and assure that only one Test case solely belongs to a folder.

Step-by-step guide

  1. Please run this query on your instance database (please note that you may need to format the query to your Database syntax):

    SELECT * FROM
     (SELECT TEST_ID,COUNT(*) AS COUNT from AO_8B1069_LEAF WHERE ENTITY_ID = 'Your_Test_Plan_issue_id' GROUP BY TEST_ID)
     AS COUNTS WHERE COUNTS.COUNT > 1

    Make sure to replace Your_Test_Plan_issue_id in the query with the correct value.

    You can find it by navigating to your Test Plan and hovering the mouse pointer over the Edit button. On the bottom of your browser, the preview URL will display the issue id value.

  2. Take the TEST_ID column values and navigate to the JIRA Issue Search, and on Advanced run the following query:

    id in (TEST_ID_1, TEST_ID_2, ...)

    And create a Saved Filter Duplicated Tests with it.

  3. Navigate to the Test Plan Board Folder where the problem occurred, use the Filter, and on the Saved Filter option input the previously created Duplicated Tests, and Apply.
  4. Change the view to the Folder view.
  5. Now, all the tests that appear are repeated at least one time; please take note of the issue key of each Test if you have tests inside the Orphans folder.
  6. Select all the Tests, right-click on the selected tests and choose the option Move to Orphans.
  7. Now, you have all the tests inside the Orphans folder, select all the tests from the Orphans folder or the tests that you take note and move to the original folder.


Content by Label
showLabelsfalse
max5
spacesProductKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "ProductKB"
labelskb-how-to-article

...