Description
When the ticket is in the trashed tab should not be the agent updated at this moment
How to reproduce
Step 1: Create a ticket and trash the ticket
Step 2: Now go to the postman and update the agent from the postman API side with the trashed ticket id
Using this API:
API URL: {helpdesk_url}/api/v1/ticket/{ticketId}
Method: [PATCH]
Authorization: Basic {API token}
Inputs for agent Update:
property: agent(property is agent)
value: agent Id(agent id)
Note:
These inputs give in body -> x-www-form-urlencoded
Step 3: Here the ticket agent is updated successfully
Possible Solution
If we are updating the agent with a trashed ticket id from the postman side should not be updated the agent because on the uvdesk helpdesk trashed ticket agent is not updated:
Description
When the ticket is in the trashed tab should not be the agent updated at this moment
How to reproduce
Step 1: Create a ticket and trash the ticket Step 2: Now go to the postman and update the agent from the postman API side with the trashed ticket id
Using this API:
API URL: {helpdesk_url}/api/v1/ticket/{ticketId}
Method: [PATCH]
Authorization: Basic {API token}
Inputs for agent Update:
property: agent(property is agent)
value: agent Id(agent id)
Note: These inputs give in body -> x-www-form-urlencoded
Step 3: Here the ticket agent is updated successfully
Possible Solution
If we are updating the agent with a trashed ticket id from the postman side should not be updated the agent because on the uvdesk helpdesk trashed ticket agent is not updated: