From c00679cc6c05e24935d03cf4e786cf41428ad5fd Mon Sep 17 00:00:00 2001 From: Geoffrey Thomas Date: Tue, 23 Feb 2010 18:34:55 -0500 Subject: [PATCH] TracZephyrPlugin: Display the priority of new tickets. Signed-off-by: Geoffrey Thomas --- TracZephyrPlugin/ZephyrPlugin.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/TracZephyrPlugin/ZephyrPlugin.py b/TracZephyrPlugin/ZephyrPlugin.py index 679d019..88b9ec2 100644 --- a/TracZephyrPlugin/ZephyrPlugin.py +++ b/TracZephyrPlugin/ZephyrPlugin.py @@ -35,9 +35,10 @@ class ZephyrPlugin(Component): return '\n'.join(lines) def ticket_created(self, ticket): - message = "%s filed a new ticket:\n%s\n\n%s" % (ticket['reporter'], - ticket['summary'], - self.format_text(ticket['description'])) + message = "%s filed a new %s ticket:\n%s\n\n%s" % (ticket['reporter'], + ticket['priority'], + ticket['summary'], + self.format_text(ticket['description'])) self.zwrite(ticket.id, message) def ticket_changed(self, ticket, comment, author, old_values): -- 2.44.0