Skip to content

No info on New-CWMTicketNote #12

@bingo-the-pyro

Description

@bingo-the-pyro

I can see this function in CWManage.psm1, but I cannot get it to work and there is no documentation on the main page.

new-cwmticketnote -ticketid 436792 -text 'Ticket note test'

`Invoke-CWMWebRequest : An error has been thrown.
at Invoke-CWMWebRequest, C:\scripts\CWManage.psm1: line 745
at Invoke-CWMNewMaster, C:\scripts\CWManage.psm1: line 630
at New-CWMTicketNote, C:\scripts\CWManage.psm1: line 3599
at , C:\scripts\test-cwmanage-tb.ps1: line 63
at , : line 1
--> InvalidObject
--> serviceNote object is invalid
-----> Please choose where to display the notes in order to save this record.
At C:\scripts\CWManage.psm1:630 char:15

  • $Result = Invoke-CWMWebRequest -Arguments $WebRequestArguments
    
  •           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CWMWebRequest`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions