Have Jira Groovy client send client=jira-groovy to our API.

(imported from commit 9186c5a8ac9ac910e914eaa342040f595b38a052)
This commit is contained in:
Steve Howell 2013-10-02 11:18:23 -04:00
parent 14a0228557
commit 6f40a58898

View file

@ -134,6 +134,7 @@ class ZulipListener extends AbstractIssueEventListener {
String sendStreamMessage(String stream, String subject, String message) { String sendStreamMessage(String stream, String subject, String message) {
NameValuePair[] body = [new NameValuePair("api-key", zulipAPIKey), NameValuePair[] body = [new NameValuePair("api-key", zulipAPIKey),
new NameValuePair("email", zulipEmail), new NameValuePair("email", zulipEmail),
new NameValuePair("client", "jira-groovy"),
new NameValuePair("type", "stream"), new NameValuePair("type", "stream"),
new NameValuePair("to", stream), new NameValuePair("to", stream),
new NameValuePair("subject", subject), new NameValuePair("subject", subject),