Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When ticket is in the trashed tab should not be the agent updated #38

Open
komal-sh-27 opened this issue Aug 29, 2022 · 0 comments
Open
Labels
Bug Something isn't working Fixed Proposed Regarding PR is already created for this issue

Comments

@komal-sh-27
Copy link

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:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Fixed Proposed Regarding PR is already created for this issue
Projects
None yet
Development

No branches or pull requests

1 participant