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