Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
jira: Add accountId field to webhook fixtures.
The Dance90b51245263d
diff --git a/zerver/webhooks/jira/fixtures/comment_created_no_issue_details.json b/zerver/webhooks/jira/fixtures/comment_created_no_issue_details.jsonindex 18bac18e62c..5c603aaac41 100644--- a/zerver/webhooks/jira/fixtures/comment_created_no_issue_details.json+++ b/zerver/webhooks/jira/fixtures/comment_created_no_issue_details.json@@ -7,6 +7,7 @@"author": {"self": "https://f20171170.atlassian.net/rest/api/2/user?accountId=5c76b994e1bcdf6294d0eb0f","name": "admin",+ "accountId": "99:b8d8a054-2e12-4839-bd5f-5f2b7c5f5e3a","key": "admin","avatarUrls": {"48x48": "https://secure.gravatar.com/avatar/bc3f74559ceceb488f4189b7e7bdfec2?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FHA-1.png&size=48&s=48",@@ -22,6 +23,7 @@"updateAuthor": {"self": "https://f20171170.atlassian.net/rest/api/2/user?accountId=5c76b994e1bcdf6294d0eb0f","name": "admin",+ "accountId": "99:b8d8a054-2e12-4839-bd5f-5f2b7c5f5e3a","key": "admin","avatarUrls": {"48x48": "https://secure.gravatar.com/avatar/bc3f74559ceceb488f4189b7e7bdfec2?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FHA-1.png&size=48&s=48",diff --git a/zerver/webhooks/jira/fixtures/issue_created.json b/zerver/webhooks/jira/fixtures/issue_created.jsonindex d48d6d29d06..cfa3f017486 100644--- a/zerver/webhooks/jira/fixtures/issue_created.json+++ b/zerver/webhooks/jira/fixtures/issue_created.json@@ -5,6 +5,7 @@"user": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",@@ -44,6 +45,7 @@"reporter": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",diff --git a/zerver/webhooks/jira/fixtures/issue_created_with_assignee.json b/zerver/webhooks/jira/fixtures/issue_created_with_assignee.jsonindex 3a42911e19e..def35b332a1 100644--- a/zerver/webhooks/jira/fixtures/issue_created_with_assignee.json+++ b/zerver/webhooks/jira/fixtures/issue_created_with_assignee.json@@ -4,6 +4,7 @@"user": {"self": "https://zulipp.atlassian.net/rest/api/2/user?username=leo","name": "leo",+ "accountId": "99:e2f12cf6-839d-4ea2-ae07-e1a59cb009c8","emailAddress": "[email protected]","avatarUrls": {"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",@@ -37,6 +38,7 @@"reporter": {"self": "https://zulipp.atlassian.net/rest/api/2/user?username=leo","name": "leo",+ "accountId": "99:e2f12cf6-839d-4ea2-ae07-e1a59cb009c8","emailAddress": "[email protected]","avatarUrls": {"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",@@ -134,6 +136,7 @@"assignee": {"self": "https://zulipp.atlassian.net/rest/api/2/user?username=leo","name": "leo",+ "accountId": "99:e2f12cf6-839d-4ea2-ae07-e1a59cb009c8","emailAddress": "[email protected]","avatarUrls": {"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",diff --git a/zerver/webhooks/jira/fixtures/issue_created_with_unicode.json b/zerver/webhooks/jira/fixtures/issue_created_with_unicode.jsonindex 0ac7766aed5..ee425b889d6 100644--- a/zerver/webhooks/jira/fixtures/issue_created_with_unicode.json+++ b/zerver/webhooks/jira/fixtures/issue_created_with_unicode.json@@ -5,6 +5,7 @@"user": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",@@ -44,6 +45,7 @@"reporter": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",diff --git a/zerver/webhooks/jira/fixtures/issue_deleted.json b/zerver/webhooks/jira/fixtures/issue_deleted.jsonindex d8292aa49e5..e4d5a6acc3b 100644--- a/zerver/webhooks/jira/fixtures/issue_deleted.json+++ b/zerver/webhooks/jira/fixtures/issue_deleted.json@@ -5,6 +5,7 @@"user": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",@@ -44,6 +45,7 @@"reporter": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",@@ -89,6 +91,7 @@"assignee": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",@@ -129,6 +132,7 @@"author": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",@@ -141,6 +145,7 @@"updateAuthor": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",diff --git a/zerver/webhooks/jira/fixtures/issue_unknown.json b/zerver/webhooks/jira/fixtures/issue_unknown.jsonindex 5058689aefd..a08589d300f 100644--- a/zerver/webhooks/jira/fixtures/issue_unknown.json+++ b/zerver/webhooks/jira/fixtures/issue_unknown.json@@ -5,6 +5,7 @@"user": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",@@ -44,6 +45,7 @@"reporter": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",@@ -89,6 +91,7 @@"assignee": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",@@ -129,6 +132,7 @@"author": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",@@ -141,6 +145,7 @@"updateAuthor": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",@@ -164,6 +169,7 @@"author": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",@@ -176,6 +182,7 @@"updateAuthor": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",diff --git a/zerver/webhooks/jira/fixtures/issue_updated__priority.json b/zerver/webhooks/jira/fixtures/issue_updated__priority.jsonindex ad4ef644cc4..8ecb59aac61 100644--- a/zerver/webhooks/jira/fixtures/issue_updated__priority.json+++ b/zerver/webhooks/jira/fixtures/issue_updated__priority.json@@ -4,6 +4,7 @@"user": {"self": "https://zulipp.atlassian.net/rest/api/2/user?username=leo","name": "leo",+ "accountId": "99:e2f12cf6-839d-4ea2-ae07-e1a59cb009c8","emailAddress": "[email protected]","avatarUrls": {"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",@@ -37,6 +38,7 @@"reporter": {"self": "https://zulipp.atlassian.net/rest/api/2/user?username=leo","name": "leo",+ "accountId": "99:e2f12cf6-839d-4ea2-ae07-e1a59cb009c8","emailAddress": "[email protected]","avatarUrls": {"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",@@ -115,6 +117,7 @@"author": {"self": "https://zulipp.atlassian.net/rest/api/2/user?username=leo","name": "leo",+ "accountId": "99:e2f12cf6-839d-4ea2-ae07-e1a59cb009c8","emailAddress": "[email protected]","avatarUrls": {"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",@@ -129,6 +132,7 @@"updateAuthor": {"self": "https://zulipp.atlassian.net/rest/api/2/user?username=leo","name": "leo",+ "accountId": "99:e2f12cf6-839d-4ea2-ae07-e1a59cb009c8","emailAddress": "[email protected]","avatarUrls": {"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",@@ -160,6 +164,7 @@"creator": {"self": "https://zulipp.atlassian.net/rest/api/2/user?username=leo","name": "leo",+ "accountId": "99:e2f12cf6-839d-4ea2-ae07-e1a59cb009c8","emailAddress": "[email protected]","avatarUrls": {"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",@@ -188,6 +193,7 @@"assignee": {"self": "https://zulipp.atlassian.net/rest/api/2/user?username=leo","name": "leo",+ "accountId": "99:e2f12cf6-839d-4ea2-ae07-e1a59cb009c8","emailAddress": "[email protected]","avatarUrls": {"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",diff --git a/zerver/webhooks/jira/fixtures/issue_updated__reassigned.json b/zerver/webhooks/jira/fixtures/issue_updated__reassigned.jsonindex ba1cdff3b30..90f33d01625 100644--- a/zerver/webhooks/jira/fixtures/issue_updated__reassigned.json+++ b/zerver/webhooks/jira/fixtures/issue_updated__reassigned.json@@ -5,6 +5,7 @@"user": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",@@ -44,6 +45,7 @@"reporter": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",@@ -89,6 +91,7 @@"assignee": {"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi","name": "lfranchi",+ "accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e","emailAddress": "[email protected]","avatarUrls": {"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",diff --git a/zerver/webhooks/jira/fixtures/issue_updated__status.json b/zerver/webhooks/jira/fixtures/issue_updated__status.jsonindex 24e4a0deb1f..9eb7fa4b006 100644--- a/zerver/webhooks/jira/fixtures/issue_updated__status.json+++ b/zerver/webhooks/jira/fixtures/issue_updated__status.json@@ -5,6 +5,7 @@"user": {"self": "https://zulipp.atlassian.net/rest/api/2/user?username=admin","name": "admin",+ "accountId": "99:b8d8a054-2e12-4839-bd5f-5f2b7c5f5e3a","key": "admin","emailAddress": "[email protected]","avatarUrls": {@@ -109,6 +110,7 @@"creator": {"self": "https://zulipp.atlassian.net/rest/api/2/user?username=admin","name": "admin",+ "accountId": "99:b8d8a054-2e12-4839-bd5f-5f2b7c5f5e3a","key": "admin","emailAddress": "[email protected]","avatarUrls": {@@ -125,6 +127,7 @@"reporter": {"self": "https://zulipp.atlassian.net/rest/api/2/user?username=admin","name": "admin",+ "accountId": "99:b8d8a054-2e12-4839-bd5f-5f2b7c5f5e3a","key": "admin","emailAddress": "[email protected]","avatarUrls": {