Cmdlets for Jira

Build 24.0.9060

Remove-JIRA Cmdlet

Parameters   Output Objects  

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

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