Remove-JiraServiceDesk Cmdlet
Deletes Jira Service Management data.
Syntax
Remove-JiraServiceDesk [parameters]
Remarks
The Remove-JiraServiceDesk cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Jira Service Management data.
$conn = Connect-JiraServiceDesk -ApiKey "myApiKey" -User "MyUser" Remove-JiraServiceDesk -Connection $conn -Table "Requests" -Id "6"The Where parameter can also be used to specify the primary key:
Remove-JiraServiceDesk -Connection $conn -Table "exTablePowershell;" -Where "Id = 6"The primary key can also be passed to the cmdlet along the pipeline:
Select-JiraServiceDesk -Connection $conn -Table Requests -Where "Column2 = 'Bob'" | Remove-JiraServiceDesk