Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

McCabe Tonna's Avatar

McCabe Tonna

Beigetreten 15. Apr. 2021

·

Letzte Aktivität 04. Feb. 2022

Folge ich

0

Follower

0

Gesamtaktivitäten

41

Stimme

1

Abonnements

27

AKTIVITÄTSÜBERSICHT

Neueste Aktivität von McCabe Tonna

McCabe Tonna hat einen Kommentar hinterlassen

Community-Kommentar 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

Kommentar anzeigen · Gepostet 13. Juni 2019 · McCabe Tonna

0

Follower

0

Stimmen

0

Kommentare


McCabe Tonna hat einen Kommentar hinterlassen

Community-Kommentar 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?

 

 

Kommentar anzeigen · Gepostet 23. Apr. 2019 · McCabe Tonna

0

Follower

0

Stimmen

0

Kommentare


McCabe Tonna hat einen Kommentar hinterlassen

Community-Kommentar 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

Kommentar anzeigen · Gepostet 23. Apr. 2019 · McCabe Tonna

0

Follower

0

Stimmen

0

Kommentare


McCabe Tonna hat einen Kommentar hinterlassen

Community-Kommentar 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

Kommentar anzeigen · Gepostet 23. Apr. 2019 · McCabe Tonna

0

Follower

0

Stimmen

0

Kommentare


McCabe Tonna hat einen Kommentar hinterlassen

Community-Kommentar 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? 

Kommentar anzeigen · Gepostet 23. Apr. 2019 · McCabe Tonna

0

Follower

0

Stimmen

0

Kommentare


McCabe Tonna hat einen Kommentar hinterlassen

Community-Kommentar 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)

 

Kommentar anzeigen · Gepostet 23. Apr. 2019 · McCabe Tonna

0

Follower

0

Stimmen

0

Kommentare


McCabe Tonna hat einen Kommentar hinterlassen

Community-Kommentar 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

 

 

Kommentar anzeigen · Gepostet 23. Apr. 2019 · McCabe Tonna

0

Follower

0

Stimmen

0

Kommentare


McCabe Tonna hat einen Kommentar hinterlassen

Community-Kommentar 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

Kommentar anzeigen · Gepostet 06. Juli 2015 · McCabe Tonna

0

Follower

1

Stimme

0

Kommentare


McCabe Tonna hat einen Kommentar hinterlassen

Community-Kommentar Q&A - Tickets and email

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

Kommentar anzeigen · Gepostet 22. März 2015 · McCabe Tonna

0

Follower

0

Stimmen

0

Kommentare


McCabe Tonna hat einen Kommentar hinterlassen

Community-Kommentar 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

Kommentar anzeigen · Gepostet 19. März 2015 · McCabe Tonna

0

Follower

0

Stimmen

0

Kommentare