/build/static/layout/Breadcrumb_cap_w.png

Create a rule to assign the first service desk commenter as the owner and change status

I've created a rule that moves new Tickets to In Progress as soon as they are assigned an owner.  I would like to create a similar that makes the first service desk commenter on a new ticket the assigned owner and changes the status to In Progress.  If a submitter comments on their own ticket, it wouldn't change status.  (Service Desk members have their own label.)  Any suggestions are welcome.

1 Comment   [ + ] Show comment
  • This is an interesting idea for automatic ticket assignment. Let me see, I might have a custom ticketrule that could be similar.

    First of all it should be checked if the ticket already has an owner, not that it changes the owner by the ticket rule. Then it should be proved who wrote the comment. By the way, how many people are processing the tickets? - svmay 6 years ago
    • Tier 1 is 4 individuals; Tier 2, which typically won't be grabbing tickets initially is 5 and may expand. - Jon_at_GLS 6 years ago
    • So that I understand you correctly: 4 people are handling the tickets, i. e. one of these 4 people processing the ticket. - svmay 6 years ago

Answers (1)

Posted by: svmay 6 years ago
Red Belt
0
Hello  @Jon_at_GLS,

please create a new custom ticket rule (SQL)

Select SQL:
SELECT		HD_TICKET.ID,
HD_TICKET.TITLE,
HD_TICKET.SUMMARY,
HD_TICKET.OWNER_ID,
HD_TICKET.SUBMITTER_ID,
HD_TICKET.HD_STATUS_ID,
C.USER_ID,
C.COMMENT
FROM ORG1.HD_TICKET
JOIN ORG1.HD_TICKET_CHANGE C on C.HD_TICKET_ID = HD_TICKET.ID
WHERE C.COMMENT != '' AND
SUBMITTER_ID != USER_ID AND
HD_TICKET.OWNER_ID = 0
  Run update query:
UPDATE    HD_TICKET
JOIN      HD_TICKET_CHANGE C on C.HD_TICKET_ID = HD_TICKET.ID
SET      HD_TICKET.OWNER_ID = C.USER_ID
WHERE     C.COMMENT != '' AND
SUBMITTER_ID != USER_ID AND
HD_TICKET.OWNER_ID = 0        AND
         HD_TICKET.ID in (<TICKET_IDS>)

Plan
________________________________________________________________________________________________

frequency:
when saving ticket



cheers


Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ