Cmdlets for Jira Service Management

Build 24.0.9060

Remove-JiraServiceDesk Cmdlet

Parameters   Output Objects  

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

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060