Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,366,432
Community Members
 
Community Events
168
Community Groups

Customer add comment - when agent not available or off

Team 

 

I need help on this...

- when Agent not available - customer update the comment in the ticket - no response long time - here i need to set rule - automation response stated "agent shift ends  pls contact XXXX" - how to set up..pls any help on this rule share it

 

thanks

 

2 answers

0 votes

Hi @Lakshmi Narasimhan - Here's a rule that should do the trick:

2022-08-17_06-22-31.jpg2022-08-17_06-22-42.jpg

Quick explanation...

The rule triggers when comment is added.  From there, the current hour is captured in a variable (second screenshot).  Then, an advanced condition verifies whether that hour is greater than 17 (5:00 PM) and adds a comment.  You'll just need to adjust the time zone parameter in the variable and the desired end of day hour for your needs.

Here's the variable so you can copy/paste:

{{comment.created.convertToTimeZone("America/Los_Angeles").format("H")}}

@Mark Segall 

 

Thanks .. Great to share this steps thanks for all your support and guidance . i will check and update 

 

Some option like comment is the main section / create variables couldn't found

Mark Segall Community Leader Aug 17, 2022

Oh sorry didn't catch that you're on server.  Instead of using the variable, you could just put the smart value directly into the advanced compare like this:

2022-08-17_07-44-16.jpg

Screenshot 2022-08-17 at 8.59.09 PM.png

@Mark Segall Thanks again for your valuable support . PF rule set up and advise is this correct?

 

here i want to check in 5 minutes is this correct : 

{{comment.created.convertToTimeZone(“India/Chennai”).format(“M”)}} 

and we need to give the current time is 21:00

Mark Segall Community Leader Aug 17, 2022

You changed the format to use "M" which is month.  "H" is hour in the 24-hour format.  

Hi @Mark Segall 

Oh ok then {{comment.created.convertToTimeZone(“India/Chennai”).format(“H”)}} 

 

currently time is 22:00 after hour i can check the comment status

@Mark Segall  @Jack Brickey 

 

any advise or step pls

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events