Cmdlets for Jira Service Desk

Build 21.0.7930

Remove-JiraServiceDesk Cmdlet

Parameters   Output Objects  

Deletes Jira Service Desk 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 Desk 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

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930