You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`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
With the help of a colleague (and some logging) we found this:
new-cwmticketnote -ticketid 436792 -text 'Ticket note test' -detailDescriptionFlag $true
There are obviously more parameters as well.
So there we go, just a New-CWMTicketNote readme and this will be more amazing :)
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
The text was updated successfully, but these errors were encountered: