Permalink
Browse files

Correcting URL of redmine issues, and adding priority for issue

  • Loading branch information...
antonym committed Aug 23, 2013
1 parent 5ebf6f1 commit 9428ee0f917bb8ab8b68b3c982fa48f732e59387
Showing with 4 additions and 3 deletions.
  1. +1 −0 AUTHORS
  2. +3 −3 pyhole/plugins/redmine.py
View
@@ -1,4 +1,5 @@
Andrew Kraut <akraut@gmail.com>
+Antony Messerli <antony@mes.ser.li>
Chris Behrens <cbehrens@codestud.com>
Christopher MacGown <ignoti+github@gmail.com>
Johannes Erdfelt <johannes@erdfelt.com>
@@ -129,9 +129,9 @@ def _find_issue(self, issue_id):
except Exception:
return
- self.irc.reply("RM %s #%s: %s [Status: %s, Assignee: %s] "
- "https://%s/issues/show/%s" % (
+ self.irc.reply("RM %s #%s: %s [Status: %s, Priority: %s, Assignee: %s] "
+ "https://%s/issues/%s" % (
issue["tracker"]["name"], issue["id"], issue["subject"],
- issue["status"]["name"],
+ issue["status"]["name"], issue["priority"]["name"],
issue.get("assigned_to", {}).get("name", "N/A"),
self.redmine_domain, issue["id"]))

0 comments on commit 9428ee0

Please sign in to comment.