Update-JiraServiceDesk Cmdlet
Updates Jira Service Management data.
Syntax
Update-JiraServiceDesk [parameters]
Remarks
The Update-JiraServiceDesk cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Jira Service Management data.
$conn = Connect-JiraServiceDesk -ApiKey "myApiKey" -User "MyUser" Update-JiraServiceDesk -Connection $conn -Table "Requests" -Columns @("Column1") -Values @("Jon Doe") -Id "6"The Where parameter can also be used to specify the primary key of the table:
Update-JiraServiceDesk -Connection $conn -Table "Requests" -Columns @("Column1") -Values @("Jon Doe") -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'" | Update-JiraServiceDesk -Columns @("Column2") -Values @("Bob 2")