{"action":"opened","issue":{"url":"https://api.github.com/repos/thekordy/ticketit/issues/48","labels_url":"https://api.github.com/repos/thekordy/ticketit/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/thekordy/ticketit/issues/48/comments","events_url":"https://api.github.com/repos/thekordy/ticketit/issues/48/events","html_url":"https://github.com/thekordy/ticketit/issues/48","id":109805884,"number":48,"title":"Ticket was auto assigned to Admin who is not the Agent in Category","user":{"login":"fishmad","id":12012101,"avatar_url":"https://avatars.githubusercontent.com/u/12012101?v=3","gravatar_id":"","url":"https://api.github.com/users/fishmad","html_url":"https://github.com/fishmad","followers_url":"https://api.github.com/users/fishmad/followers","following_url":"https://api.github.com/users/fishmad/following{/other_user}","gists_url":"https://api.github.com/users/fishmad/gists{/gist_id}","starred_url":"https://api.github.com/users/fishmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fishmad/subscriptions","organizations_url":"https://api.github.com/users/fishmad/orgs","repos_url":"https://api.github.com/users/fishmad/repos","events_url":"https://api.github.com/users/fishmad/events{/privacy}","received_events_url":"https://api.github.com/users/fishmad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-05T14:16:40Z","updated_at":"2015-10-05T14:16:40Z","closed_at":null,"body":"I have two Agents Joined to a Category (neither of them are the Admin) DB User #3 and #4\r\nI logged in as a standard User DB User #2 and created a new a ticket.\r\nThe ticket was auto allocated to the Admin instead of my Agents.\r\n\r\nI then logged in as Admin (DB User #1) with intent to re-assign ticket but the ability to Edit ticket is not available to Admin (possibly because he's not assigned to Category), however the Admin can add Comments or Delete the Ticket just not Edit it.\r\n\r\nThis also means I can't edit the ticket at all because Admin owns it and no other Agent knows it exists.\r\n\r\nAlso in the DataTable under the Agent table Heading the name of the person who submitted the ticket shows up and not the Assigned Agent not sure if you intended this to be the ticket owner or agent.\r\n![capture](https://cloud.githubusercontent.com/assets/12012101/10282350/0ca95d1a-6bc6-11e5-8635-7c77e9788696.PNG)\r\n\r\nPerhaps it should have a column for both 'ticket owner' and 'assigned agent'\r\n\r\nAlso I deleted all the tickets as Admin but they are still in the Tickets Table in Database."}}