Skip to content

Commit f450ff6

Browse files
committed
adding back in skipping adding new note to Halo ticket
1 parent d0e2a10 commit f450ff6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Modules/CippExtensions/Public/Halo/New-HaloPSATicket.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@ function New-HaloPSATicket {
2222
if ($Ticket.id) {
2323
if (!$Ticket.hasbeenclosed) {
2424
Write-Information 'Ticket is still open, adding new note'
25-
$Object = [PSCustomObject]@{
25+
<#$Object = [PSCustomObject]@{
2626
ticket_id = $ExistingTicket.TicketID
2727
outcome_id = 7
2828
hiddenfromuser = $true
2929
note_html = $description
3030
}
31-
31+
3232
if ($Configuration.Outcome) {
3333
$Outcome = $Configuration.Outcome.value ?? $Configuration.Outcome
3434
$Object.outcome_id = $Outcome
3535
}
36-
36+
3737
$body = ConvertTo-Json -Compress -Depth 10 -InputObject @($Object)
3838
try {
3939
if ($PSCmdlet.ShouldProcess('Add note to HaloPSA ticket', 'Add note')) {
@@ -53,7 +53,7 @@ function New-HaloPSATicket {
5353
Write-Information "Failed to add note to HaloPSA ticket: $Message"
5454
Write-Information "Body we tried to ship: $body"
5555
return "Failed to add note to HaloPSA ticket: $Message"
56-
}
56+
}#>
5757
}
5858
}
5959
else {

0 commit comments

Comments
 (0)