Scripts in this repository require PowerShell 7. See this article for help installing PowerShell 7.
Run git clone https://github.com/JustServe-Resources/Zendesk-PowerShell in the Terminal to save a copy of this.
Add ls <cloned folder> -filter "*.ps1" | %{import-module $_} to your PowerShell profile. For help creating a PowerShell profile, see this article.
You can easily escalate an incident to a community post (and immediately generate a linked Problem ticket) by using New-ProblemFromNewCommunityPost alongside our Copilot agent.
- First, grab the context of the incident ticket and copy it to your clipboard:
(Replace
Get-TicketComments -TicketId 14882 -CopyToClipboard
14882with the actual incident Ticket ID) - Open the Zendesk Copilot agent.
- Paste the clipboard contents to the agent and ask it to generate an HTML snippet summarizing the issue for a Zendesk community post.
- Copy the generated HTML snippet and pass it into the wrapper function:
New-ProblemFromNewCommunityPost -Title "Brief Issue Title" -Details "<HTML_snippet_from_Copilot>"
- Follow the manual on-screen instructions output by the script to finalize the newly created problem ticket.