Have Jira Groovy client send client=jira-groovy to our API.
(imported from commit 9186c5a8ac9ac910e914eaa342040f595b38a052)
This commit is contained in:
parent
14a0228557
commit
6f40a58898
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue