Details
-
Bug
-
Resolution: Fixed
-
Low
-
Severity 3 - Minor
-
Description
Summary
When adding a public comment during a transition, Service Desk sees that the status changed first and only then the comment is added. This causing Service Desk to perform the automation while the issue in a wrong status.
Steps to Replicate
- Create a new Basic Service Desk Project.
- Create a new workflow and it should contain the below transition:
- Add a screen to the Waiting for Approval to Waiting for Support transition
- Add a new issue commented automation rule to the Service Desk:
* WHEN *Comment is added to an issue* * IF *Issue matches: Status = "Waiting for support" / "Customer Request Type" is not empty / Comment is public / User is not a customer* ** THEN *Transition issue: Respond to customer* * IF ELSE *Issue matches: Status = "Waiting for customer" / "Customer Request Type" is not empty / Comment is public / User is a customer* ** THEN *Transition issue: Respond to support*
- Login as Service Desk customer and use this customer to create a new issue through Customer Portal
- Login as agent and transition the new issue from Waiting for Approval to Waiting for Support and the screen to add a comment will pop out
- Add a public comment
- The status changes to Waiting for Customer instead of Waiting for Support
Expected Behavior
Service Desk should add the comment first and then transition the issue to the destination status
Current behavior
Service Desk transition to the destination status and then add the comment into the ticket
Workaround
Add the Comment is primary action if condition to your automation rule so that it would look like
* WHEN *Comment is added to an issue* * IF *Issue matches: Status = "Waiting for support" / "Customer Request Type" is not empty / Comment is public / User is not a customer* * AND *Comment is primary action ** THEN *Transition issue: Respond to customer* * IF ELSE *Issue matches: Status = "Waiting for customer" / "Customer Request Type" is not empty / Comment is public / User is a customer* * AND *Comment is primary action ** THEN *Transition issue: Respond to support*
Attachments
Issue Links
- depends on
-
FREE-756 Loading...