최근 검색
최근 검색 없음

john.witt
가입한 날짜: 2021년 4월 16일
·
마지막 활동: 2021년 10월 27일
팔로잉
0
팔로워
0
총 활동 수
4
투표 수
0
플랜 수
3
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 john.witt
john.witt님이 에 댓글을 입력함
I'll admit I have not read all the replies, but I came up with a kludge that works and adds CC emails if you have access (not sure what subscription level uses Notify Targets).
- Go to Admin; Settings; Extensions.
- Create a new HTTP target.
- URL: https://trendkitehelp.zendesk.com/api/v2/requests/{{ticket.id}}.json
- Method: PUT
- Content Type: JSON
- Enable basic authentication. I use my username/password (password is hidden) but I have not tried using an API token instead. I don't think admin is needed and though the user access was enough, but it failed without this.
- Click "Update Target" at bottom right and submit.
Now create a trigger with your required parameters and for actions choose "Notify Target" using the target you created above. For the JSON add the following:
{
"request": {
"email_ccs": [
{ "user_email": "first@example.com","action": "put"},
{ "user_email": "second@example.com","action": "put"}
]
}
}
You can add more CCs, but remember if you have just one to remove that comma.
I'd recommend you do step-testing first. For example, replace the {{ticket.id}} with a real ID and instead of update use "Test Target" and paste your JSON. Look at the result and make sure the email CC is updated and then check the ticket CC to ensure the API PUT is working. If that works works, "Update Target" and create a Trigger that updates that Ticket, this time with a different email address to ensure the Trigger is running the API PUT. If that works, update the target back to {{ticket.id}} and update your Trigger back to the correct parameters and emails addresses.
John
댓글 보기 · 2019년 4월 23일에 게시됨 · john.witt
0
팔로워
4
투표 수
0
댓글