Set-JiraIssue does not accept pipeline input e.g. an object created by Get-JiraIssue
Also there is an attribute naming missmatch. Get-Jiraissue returns the ticket id within the Attribute "Key" where as Set-JiraIssue expects "Issue".
Steps To Reproduce
$ticket = Get-JiraIssue -Key $AnyTicketID
$ticket.Summary = "Lorem Ipsum"
$ticket | Set-JiraIssue <= Failing because of unsupported pipeline input
Set-JiraIssue @ticket <= Failing because of different attribute names.
Description
Set-JiraIssue does not accept pipeline input e.g. an object created by Get-JiraIssue Also there is an attribute naming missmatch. Get-Jiraissue returns the ticket id within the Attribute "Key" where as Set-JiraIssue expects "Issue".
Steps To Reproduce
$ticket = Get-JiraIssue -Key $AnyTicketID
$ticket.Summary = "Lorem Ipsum"
$ticket | Set-JiraIssue
<= Failing because of unsupported pipeline inputSet-JiraIssue @ticket
<= Failing because of different attribute names.Expected behavior
Ticket being updated.