3.8.2 Deleting Items by using a command
There are two commands that can be used to delete Items:
-
jssitemdeletion command
This command places Items in the Waiting to be deleted state. Whereas you can delete only one Item by using a window, you can delete many Items at once by using the jssitemdeletion command. This command is useful when you want to delete test Items created in the test environment or when free space in the Item management database is insufficient.
For details on how to use the jssitemdeletion command to delete Items in a batch, see 11.2.2 Deleting Items from the Item management database.
For details about the jssitemdeletion command, see jssitemdeletion (centrally places Items into the Waiting to be deleted status) in Chapter 12. Commands.
You could place necessary Items in the Waiting to be deleted state inadvertently by using the jssitemdeletion command. In such a case, you can use the jssrev command to restore those Items from the Waiting to be deleted state. For details about the jssrev command, see jssrev (cancels batch deletion of Items) in Chapter 12. Commands.
-
jssdelrec command
After the jssitemdeletion command is used to place Items in the Waiting to be deleted state, the jssdelrec command is used to delete them completely from the Item management database. The jssdelrec command can also delete target systems or process work boards that are in the Waiting to be deleted state. For details about this command, see jssdelrec (deletes data from the Item management database) in Chapter 12. Commands.