최근 검색


최근 검색 없음

McCabe Tonna's Avatar

McCabe Tonna

가입한 날짜: 2021년 4월 15일

·

마지막 활동: 2022년 2월 04일

팔로잉

0

팔로워

0

총 활동 수

41

투표

1

플랜 수

27

활동 개요

님의 최근 활동 McCabe Tonna

McCabe Tonna님이 에 댓글을 입력함

커뮤니티 댓글 Q&A - Tickets and email

I was able to use Colin's suggestion and with some tweaks got it working perfectly.

This was so we can use triggers/automations to bulk notify people from a no-reply email address.

We use our no-reply email for specific escalations. 

1) Channels > Email .. Create a no-reply@yourdomain 

2) Settings > Extensions > HTTP Target

     a) https://yourdomain.zendesk.com/api/v2/tickets/{{ticket.id}}.json

     b) Method: Put, JSON data, Basic auth.. your username/token API token

3) this part must be 2 triggers

    a) First part is you need to update your ticket to utilize the proper recipient (the "from" part of the email)

    b)

c) This trigger waits for the previous trigger to finish

 

Hope this helps

댓글 보기 · 2019년 6월 13일에 게시됨 · McCabe Tonna

0

팔로워

0

투표 수

0

댓글


McCabe Tonna님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk APIs

The default fields type follow their title

Subject = subject, description = description, status = status, group = group.. etc

All custom fields follow those field types listed above.

Do you have an example of something you'd want to search for?

 

 

댓글 보기 · 2019년 4월 23일에 게시됨 · McCabe Tonna

0

팔로워

0

투표 수

0

댓글


McCabe Tonna님이 에 댓글을 입력함

커뮤니티 댓글 Discussion - Tips and best practices from the community

Okay I got it working. This was for articles (article_page,hbs) where the class is known as "comment-author".

 

Added this to the script.js file(plain text to add at bottom)

the css

 

and I didn't change anything to the article_page.hbs or any other page. 

 

(added to bottom of script.js file)

 $(document).ready(function() {
 
  var moderators = ["McCabe", "McCabe T", "Adam Pepper", "Another Person"];
 
var supportManagers = ["Samantha Flaherty", "Christian Colding", "Jesper Petersson"];
  $('.comment-author').each(function(index) {
    
    var name = ($.trim($(this).text()).split('\n')[0]) //select name, stop at new line
    
if ($.inArray(name, moderators) > -1) {
$(this).addClass('moderator');
}
  })
 
 
});
 
 
/////******** CSS 
/***** USER CUSTOM ****/
.moderator:after, .support-manager:after {
 
content: "Community Moderator";
 
background-color: grey;
 
border-radius: 3px;
 
color: white;
 
margin-left: 8px;
 
padding: 2px 5px;
 
font-size: 10px;
 
}
 
.support-manager:after {
 
content: "Support Manager";
 
}
 
 
--- FWIW using this method, if someone mirrored another users' name, they too could be a community moderator

댓글 보기 · 2019년 4월 23일에 게시됨 · McCabe Tonna

0

팔로워

0

투표 수

0

댓글


McCabe Tonna님이 에 댓글을 입력함

커뮤니티 댓글 Discussion - Tips and best practices from the community

@jeremy 

I'm trying to see if i can replicate the correct and your issue

Seeing if anyone who has implemented this recently can help out

 

update: i see the script.js isn't passing the data (moderators) to our template pages

trying to pass the data. pretty new to hbs

댓글 보기 · 2019년 4월 23일에 게시됨 · McCabe Tonna

0

팔로워

0

투표 수

0

댓글


McCabe Tonna님이 에 댓글을 입력함

커뮤니티 댓글 Discussion - Tips and best practices from the community

@Jeremy, Makes sense. 

If you're saying everyone who comments gets the tag, that means it's always True.

Can you try updating it from -1 to 0? 

댓글 보기 · 2019년 4월 23일에 게시됨 · McCabe Tonna

0

팔로워

0

투표 수

0

댓글


McCabe Tonna님이 에 댓글을 입력함

커뮤니티 댓글 Discussion - Tips and best practices from the community

@Jeremy Robinson 

I haven't tested this, but wouldn't this always be true?

if ($.inArray($.trim($(this).text()), moderators) > -1)

 

댓글 보기 · 2019년 4월 23일에 게시됨 · McCabe Tonna

0

팔로워

0

투표 수

0

댓글


McCabe Tonna님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk APIs

I'm not sure I follow

What do you see when you enter yourzendesksite.com/api/v2/ticket_fields.json ?

And what are you expecting to see

 

 

댓글 보기 · 2019년 4월 23일에 게시됨 · McCabe Tonna

0

팔로워

0

투표 수

0

댓글


McCabe Tonna님이 에 댓글을 입력함

커뮤니티 댓글 Q&A - Tickets and email

HI Laura,

In your triggers, swap the placeholders that state {{ticket.public_comments_formatted}} to {{ticket.latest_public_comment_formatted}}

I believe that will solve your issue.

Also, I highly recommend testing this before fully rolling this out to your customers. 

Hope this helps.

Thanks,

McCabe

댓글 보기 · 2015년 7월 06일에 게시됨 · McCabe Tonna

0

팔로워

1

투표

0

댓글


McCabe Tonna님이 에 댓글을 입력함

커뮤니티 댓글 Q&A - Tickets and email

I'm a little confused - Are you saying anytime you update the ticket, you are removing the tag?

댓글 보기 · 2015년 3월 22일에 게시됨 · McCabe Tonna

0

팔로워

0

투표 수

0

댓글


McCabe Tonna님이 에 댓글을 입력함

커뮤니티 댓글 Q&A - Tickets and email

I put some thought into this.

1. You can create a trigger that adds a tag, every time a private comment is made.

2. Create a view to search for that tag

3. Create a second trigger that removes the tag when you update a ticket with that tag.

This will allow for you to find these tickets without all the emails.

Hope this helps,

McCabe

댓글 보기 · 2015년 3월 19일에 게시됨 · McCabe Tonna

0

팔로워

0

투표 수

0

댓글