Scrip to auto assign ticket to user when matching a particular subject

Hi All,

I am trying to create a scrip that auto assigns ticket to user based on the subject of the ticket.

Do you have any ideas on how i can achieve this? Any help would be greatly appreciated.


How are you controlling the Subject line?

Tickets are being opened from an application using REST interface and the same subject lines are always written.

Ah, so can you set the owner in the same API call?

Oh, i never taught of it that way, mainly due this application does not fall within our responsibility.

Thank you very much for your valuable input. I will suggest to pass the owner with the same API call which is creating the ticket as it is much cleaner like that.