Remove-JIRA Cmdlet
Deletes Jira data.
Syntax
Remove-JIRA [parameters]
Remarks
The Remove-JIRA cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Jira data.
$conn = Connect-JIRA -User 'admin' -APIToken '123abc' -Url 'https://yoursitename.atlassian.net' Remove-JIRA -Connection $conn -Table "Projects" -Id "10000"The Where parameter can also be used to specify the primary key:
Remove-JIRA -Connection $conn -Table "exTablePowershell;" -Where "Id = 10000"The primary key can also be passed to the cmdlet along the pipeline:
Select-JIRA -Connection $conn -Table Projects -Where "Id = '10000'" | Remove-JIRA