[Bps-public-commit] rt-extension-rest2 branch, allow-update-of-ticket-status-on-correspond, repushed
Dianne Skoll
dianne at bestpractical.com
Tue Dec 15 08:38:16 EST 2020
The branch allow-update-of-ticket-status-on-correspond was deleted and repushed:
was ec39e82910043e46c4155efcb7dbc727cfc9534f
now 22e5f7a038cd8df941ccd47fa6550c6a0ae8f103
1: 04b7939 < -: ------- Add ability to update status at the same time as posting a comment or reply
-: ------- > 1: f711932 Add ability to update status at the same time as posting a comment or reply
2: fd066a1 ! 2: de4eee5 Document the "Status" member for posting a comment or reply to a ticket.
@@ -1,6 +1,6 @@
Author: Dianne Skoll <dianne at bestpractical.com>
- Document the "Status" member when you post a reply or comment on a ticket.
+ Document the "Status" member for posting a comment or reply to a ticket.
diff --git a/lib/RT/Extension/REST2.pm b/lib/RT/Extension/REST2.pm
--- a/lib/RT/Extension/REST2.pm
@@ -11,10 +11,9 @@
+=item C<Status>
+
-+The new status (for example, "open", "rejected", etc.) to set the ticket
-+to. If you do not supply Status, then the status may be updated according
-+to the normal transaction rules (for example, a reply may change a ticket
-+status from "resolved" to "open", depending on how your RT is set up.)
++The new status (for example, "open", "rejected", etc.) to set the
++ticket to. The Status value must be a valid status based on the
++lifecycle of the ticket's current queue.
+
=back
3: ec39e82 ! 3: 22e5f7a Add unit test for changing ticket status on comment / reply.
@@ -89,7 +89,7 @@
+ );
+ is($res->code, 200);
+ $content = $mech->json_response;
-+ is($content->{Status}, 'rejected', "Ticket status really was during a comment");
++ is($content->{Status}, 'rejected', "Ticket status really was changed during a comment");
+
+}
+
More information about the Bps-public-commit
mailing list