Update-JIRA Cmdlet
Updates Jira data.
Syntax
Update-JIRA [parameters]
Remarks
The Update-JIRA cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Jira data.
$conn = Connect-JIRA -User 'admin' -APIToken '123abc' -Url 'https://yoursitename.atlassian.net' Update-JIRA -Connection $conn -Table "Projects" -Columns @("Name") -Values @("Test Project.") -Id "10000"The Where parameter can also be used to specify the primary key of the table:
Update-JIRA -Connection $conn -Table "Projects" -Columns @("Name") -Values @("Test Project.") -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'" | Update-JIRA -Columns @("Id") -Values @("10000 2")