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
I am trying to Bundle/Un-bundle, and possibly Merge tickets automatically and I am not seeing a clear way to do this through here.
It looks like the Bundle-ing may be through this endpoint and the Child>Parent Merge operation through this endpoint
For the un-bundling (removing children) I am thinking that Update-CWMTicket might work? But perhaps not, since I can't find a field that directly lists the ChildTicket IDs
I did try this, in hopes it would be able to mimic the /service/tickets/{parentId}/attachChildren path and Add 143061 as a child to 141378
But it was attempting to essentially Patch the Ticket 141378 with a node attachChildren to the value of childTicketIDs=143061
Probably roughly equivalent to this method? patchServiceTicketsById
playing with Debugging.... this seems to work, but Invoke-CWMNewMaster isn't exposed as public
ConnectWiseManageAPI.zip
Thanks Kevin for the help, I fixed up the module so the function works without having to go into debug mode, I have not looked into unbundling but do appreciate your insight.
@PsychoData, As far as I am aware, merging child tickets into a parent is a permanent action and cannot be undone once completed. I believe bundled tickets can be unbundled though, but I have not looked into how.
I've just submitted a pull request ( #49 ) which adds a New_CWMTicketChild function which can be used to either Bundle or Merge child ticket(s) into a parent ticket.
Hi,
I am trying to Bundle/Un-bundle, and possibly Merge tickets automatically and I am not seeing a clear way to do this through here.
It looks like the Bundle-ing may be through this endpoint and the Child>Parent Merge operation through this endpoint
For the un-bundling (removing children) I am thinking that Update-CWMTicket might work? But perhaps not, since I can't find a field that directly lists the ChildTicket IDs
I did try this, in hopes it would be able to mimic the
/service/tickets/{parentId}/attachChildren
path and Add 143061 as a child to 141378But it was attempting to essentially Patch the Ticket 141378 with a node
attachChildren
to the value ofchildTicketIDs=143061
Probably roughly equivalent to this method? patchServiceTicketsById
playing with Debugging.... this seems to work, but Invoke-CWMNewMaster isn't exposed as public
Which works!
Or for invalid situations on Bundle
it even gives helpful error messages
Still trying to figure out removing children/un-bundling
Possibly set ParentID to empty/0 on Child tickets?
The text was updated successfully, but these errors were encountered: