trudesk icon indicating copy to clipboard operation
trudesk copied to clipboard

Update ticket priority

Open AhmedAdel999 opened this issue 3 years ago • 2 comments

  • [x] BUG
  • [ ] FEATURE

What happened: When updating ticket priority, it doesn't update.

What did you expect to happen: The ticket priority should be updated.

How to reproduce it (as minimally and precisely as possible):

Send a put request to update any ticket with the body of "priority": "[priorityId]"

Anything else we need to know?: No

Environment:

  • Trudesk Version: 1.0.17
  • OS (e.g. from /etc/os-release): Arch Linux
  • Node.JS Version: 18.7.0
  • MongoDB Version: 5
  • Is this hosted on cloud.trudesk.io: No

AhmedAdel999 avatar Aug 29 '22 00:08 AhmedAdel999

Are you really on version 1.0.17?

polonel avatar Aug 29 '22 01:08 polonel

Yes, in this file https://github.com/polonel/trudesk/blob/f0933d72fc83b870e5d7d8e4cd74c3bb296ff145/src/controllers/api/v1/tickets.js#L717-L848 it doesn't handle updating the priority.

AhmedAdel999 avatar Aug 29 '22 15:08 AhmedAdel999

:tada: This issue has been resolved in version 1.2.7 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

polonel avatar Apr 05 '23 21:04 polonel