snapshot of https://github.com/zulip/zulip.git @ 48c69911c7dd4e03b20552eb3bd77ad8151c1357 (2026-09-15)
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
This commit is contained in:
113
zerver/webhooks/jira/fixtures/comment_created.json
Normal file
113
zerver/webhooks/jira/fixtures/comment_created.json
Normal file
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"timestamp": 1565964017153,
|
||||
"webhookEvent": "comment_created",
|
||||
"comment": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/issue/10000/comment/10000",
|
||||
"id": "10000",
|
||||
"author": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/user?accountId=5c76b994e1bcdf6294d0eb0f",
|
||||
"name": "admin",
|
||||
"key": "admin",
|
||||
"accountId": "5c76b994e1bcdf6294d0eb0f",
|
||||
"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",
|
||||
"24x24": "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=24&s=24",
|
||||
"16x16": "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=16&s=16",
|
||||
"32x32": "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=32&s=32"
|
||||
},
|
||||
"displayName": "Hemanth V. Alluri",
|
||||
"active": true,
|
||||
"timeZone": "Asia/Calcutta",
|
||||
"accountType": "atlassian"
|
||||
},
|
||||
"body": "This is a comment that likes to *exercise* a lot of _different_ {{conventions}} that {{jira uses}}.\r\n\r\n{noformat}\r\nthis code is not highlighted, but monospaced\r\n{noformat}\r\n\r\n{code:python}\r\ndef python():\r\n print \"likes to be formatted\"\r\n{code}\r\n\r\n[http://www.google.com] is a bare link, and [Google|http://www.google.com] is given a title.\r\n\r\nThanks!\r\n\r\n{quote}\r\nSomeone said somewhere\r\n{quote}\\!\n[~Niloth]\n[~King Hamlet]",
|
||||
"updateAuthor": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/user?accountId=5c76b994e1bcdf6294d0eb0f",
|
||||
"name": "admin",
|
||||
"key": "admin",
|
||||
"accountId": "5c76b994e1bcdf6294d0eb0f",
|
||||
"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",
|
||||
"24x24": "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=24&s=24",
|
||||
"16x16": "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=16&s=16",
|
||||
"32x32": "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=32&s=32"
|
||||
},
|
||||
"displayName": "Hemanth V. Alluri",
|
||||
"active": true,
|
||||
"timeZone": "Asia/Calcutta",
|
||||
"accountType": "atlassian"
|
||||
},
|
||||
"created": "2019-08-16T19:30:17.153+0530",
|
||||
"updated": "2019-08-16T19:30:17.153+0530",
|
||||
"jsdPublic": true
|
||||
},
|
||||
"issue": {
|
||||
"id": "10000",
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/issue/10000",
|
||||
"key": "SP-1",
|
||||
"fields": {
|
||||
"summary": "Add support for newer format Jira issue comment events",
|
||||
"issuetype": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/issuetype/10100",
|
||||
"id": "10100",
|
||||
"description": "A task that needs to be done.",
|
||||
"iconUrl": "https://f20171170.atlassian.net/secure/viewavatar?size=medium&avatarId=10318&avatarType=issuetype",
|
||||
"name": "Task",
|
||||
"subtask": false,
|
||||
"avatarId": 10318,
|
||||
"entityId": "7781fe72-66c8-43f7-b4cb-ef2482548605"
|
||||
},
|
||||
"project": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/project/10000",
|
||||
"id": "10000",
|
||||
"key": "SP",
|
||||
"name": "Sample Project",
|
||||
"projectTypeKey": "software",
|
||||
"simplified": true,
|
||||
"avatarUrls": {
|
||||
"48x48": "https://f20171170.atlassian.net/secure/projectavatar?pid=10000&avatarId=10410",
|
||||
"24x24": "https://f20171170.atlassian.net/secure/projectavatar?size=small&s=small&pid=10000&avatarId=10410",
|
||||
"16x16": "https://f20171170.atlassian.net/secure/projectavatar?size=xsmall&s=xsmall&pid=10000&avatarId=10410",
|
||||
"32x32": "https://f20171170.atlassian.net/secure/projectavatar?size=medium&s=medium&pid=10000&avatarId=10410"
|
||||
}
|
||||
},
|
||||
"assignee": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/user?accountId=5c76b994e1bcdf6294d0eb0f",
|
||||
"name": "admin",
|
||||
"key": "admin",
|
||||
"accountId": "5c76b994e1bcdf6294d0eb0f",
|
||||
"emailAddress": "f20171170@pilani.bits-pilani.ac.in",
|
||||
"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",
|
||||
"24x24": "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=24&s=24",
|
||||
"16x16": "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=16&s=16",
|
||||
"32x32": "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=32&s=32"
|
||||
},
|
||||
"displayName": "Hemanth V. Alluri",
|
||||
"active": true,
|
||||
"timeZone": "Asia/Calcutta",
|
||||
"accountType": "atlassian"
|
||||
},
|
||||
"priority": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/priority/3",
|
||||
"iconUrl": "https://f20171170.atlassian.net/images/icons/priorities/medium.svg",
|
||||
"name": "Medium",
|
||||
"id": "3"
|
||||
},
|
||||
"status": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/status/10000",
|
||||
"description": "",
|
||||
"iconUrl": "https://f20171170.atlassian.net/",
|
||||
"name": "To Do",
|
||||
"id": "10000",
|
||||
"statusCategory": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/statuscategory/2",
|
||||
"id": 2,
|
||||
"key": "new",
|
||||
"colorName": "blue-gray",
|
||||
"name": "To Do"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"timestamp": 1565964017153,
|
||||
"webhookEvent": "comment_created",
|
||||
"comment": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/issue/10000/comment/12000",
|
||||
"id": "12000",
|
||||
"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",
|
||||
"24x24": "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=24&s=24",
|
||||
"16x16": "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=16&s=16",
|
||||
"32x32": "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=32&s=32"
|
||||
},
|
||||
"displayName": "Hemanth V. Alluri",
|
||||
"active": true,
|
||||
"timeZone": "Asia/Calcutta"
|
||||
},
|
||||
"body": "Sounds like it’s pretty important. I’ll get this fixed ASAP\\!",
|
||||
"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",
|
||||
"24x24": "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=24&s=24",
|
||||
"16x16": "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=16&s=16",
|
||||
"32x32": "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=32&s=32"
|
||||
},
|
||||
"displayName": "Hemanth V. Alluri",
|
||||
"active": true,
|
||||
"timeZone": "Asia/Calcutta"
|
||||
},
|
||||
"created": "2019-08-16T19:30:17.153+0530",
|
||||
"updated": "2019-08-16T19:30:17.153+0530"
|
||||
}
|
||||
}
|
||||
113
zerver/webhooks/jira/fixtures/comment_deleted.json
Normal file
113
zerver/webhooks/jira/fixtures/comment_deleted.json
Normal file
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"timestamp": 1565964144825,
|
||||
"webhookEvent": "comment_deleted",
|
||||
"comment": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/issue/10000/comment/10000",
|
||||
"id": "10000",
|
||||
"author": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/user?accountId=5c76b994e1bcdf6294d0eb0f",
|
||||
"name": "admin",
|
||||
"key": "admin",
|
||||
"accountId": "5c76b994e1bcdf6294d0eb0f",
|
||||
"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",
|
||||
"24x24": "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=24&s=24",
|
||||
"16x16": "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=16&s=16",
|
||||
"32x32": "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=32&s=32"
|
||||
},
|
||||
"displayName": "Hemanth V. Alluri",
|
||||
"active": true,
|
||||
"timeZone": "Asia/Calcutta",
|
||||
"accountType": "atlassian"
|
||||
},
|
||||
"body": "This is a very important issue\\! I’m on it\\!",
|
||||
"updateAuthor": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/user?accountId=5c76b994e1bcdf6294d0eb0f",
|
||||
"name": "admin",
|
||||
"key": "admin",
|
||||
"accountId": "5c76b994e1bcdf6294d0eb0f",
|
||||
"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",
|
||||
"24x24": "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=24&s=24",
|
||||
"16x16": "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=16&s=16",
|
||||
"32x32": "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=32&s=32"
|
||||
},
|
||||
"displayName": "Hemanth V. Alluri",
|
||||
"active": true,
|
||||
"timeZone": "Asia/Calcutta",
|
||||
"accountType": "atlassian"
|
||||
},
|
||||
"created": "2019-08-16T19:30:17.153+0530",
|
||||
"updated": "2019-08-16T19:31:43.489+0530",
|
||||
"jsdPublic": true
|
||||
},
|
||||
"issue": {
|
||||
"id": "10000",
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/issue/10000",
|
||||
"key": "SP-1",
|
||||
"fields": {
|
||||
"summary": "Add support for newer format Jira issue comment events",
|
||||
"issuetype": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/issuetype/10100",
|
||||
"id": "10100",
|
||||
"description": "A task that needs to be done.",
|
||||
"iconUrl": "https://f20171170.atlassian.net/secure/viewavatar?size=medium&avatarId=10318&avatarType=issuetype",
|
||||
"name": "Task",
|
||||
"subtask": false,
|
||||
"avatarId": 10318,
|
||||
"entityId": "7781fe72-66c8-43f7-b4cb-ef2482548605"
|
||||
},
|
||||
"project": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/project/10000",
|
||||
"id": "10000",
|
||||
"key": "SP",
|
||||
"name": "Sample Project",
|
||||
"projectTypeKey": "software",
|
||||
"simplified": true,
|
||||
"avatarUrls": {
|
||||
"48x48": "https://f20171170.atlassian.net/secure/projectavatar?pid=10000&avatarId=10410",
|
||||
"24x24": "https://f20171170.atlassian.net/secure/projectavatar?size=small&s=small&pid=10000&avatarId=10410",
|
||||
"16x16": "https://f20171170.atlassian.net/secure/projectavatar?size=xsmall&s=xsmall&pid=10000&avatarId=10410",
|
||||
"32x32": "https://f20171170.atlassian.net/secure/projectavatar?size=medium&s=medium&pid=10000&avatarId=10410"
|
||||
}
|
||||
},
|
||||
"assignee": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/user?accountId=5c76b994e1bcdf6294d0eb0f",
|
||||
"name": "admin",
|
||||
"key": "admin",
|
||||
"accountId": "5c76b994e1bcdf6294d0eb0f",
|
||||
"emailAddress": "f20171170@pilani.bits-pilani.ac.in",
|
||||
"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",
|
||||
"24x24": "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=24&s=24",
|
||||
"16x16": "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=16&s=16",
|
||||
"32x32": "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=32&s=32"
|
||||
},
|
||||
"displayName": "Hemanth V. Alluri",
|
||||
"active": true,
|
||||
"timeZone": "Asia/Calcutta",
|
||||
"accountType": "atlassian"
|
||||
},
|
||||
"priority": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/priority/3",
|
||||
"iconUrl": "https://f20171170.atlassian.net/images/icons/priorities/medium.svg",
|
||||
"name": "Medium",
|
||||
"id": "3"
|
||||
},
|
||||
"status": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/status/10000",
|
||||
"description": "",
|
||||
"iconUrl": "https://f20171170.atlassian.net/",
|
||||
"name": "To Do",
|
||||
"id": "10000",
|
||||
"statusCategory": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/statuscategory/2",
|
||||
"id": 2,
|
||||
"key": "new",
|
||||
"colorName": "blue-gray",
|
||||
"name": "To Do"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
113
zerver/webhooks/jira/fixtures/comment_updated.json
Normal file
113
zerver/webhooks/jira/fixtures/comment_updated.json
Normal file
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"timestamp": 1565964103489,
|
||||
"webhookEvent": "comment_updated",
|
||||
"comment": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/issue/10000/comment/10000",
|
||||
"id": "10000",
|
||||
"author": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/user?accountId=5c76b994e1bcdf6294d0eb0f",
|
||||
"name": "admin",
|
||||
"key": "admin",
|
||||
"accountId": "5c76b994e1bcdf6294d0eb0f",
|
||||
"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",
|
||||
"24x24": "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=24&s=24",
|
||||
"16x16": "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=16&s=16",
|
||||
"32x32": "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=32&s=32"
|
||||
},
|
||||
"displayName": "Hemanth V. Alluri",
|
||||
"active": true,
|
||||
"timeZone": "Asia/Calcutta",
|
||||
"accountType": "atlassian"
|
||||
},
|
||||
"body": "This is a very important issue\\! I’m on it\\!",
|
||||
"updateAuthor": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/user?accountId=5c76b994e1bcdf6294d0eb0f",
|
||||
"name": "admin",
|
||||
"key": "admin",
|
||||
"accountId": "5c76b994e1bcdf6294d0eb0f",
|
||||
"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",
|
||||
"24x24": "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=24&s=24",
|
||||
"16x16": "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=16&s=16",
|
||||
"32x32": "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=32&s=32"
|
||||
},
|
||||
"displayName": "Hemanth V. Alluri",
|
||||
"active": true,
|
||||
"timeZone": "Asia/Calcutta",
|
||||
"accountType": "atlassian"
|
||||
},
|
||||
"created": "2019-08-16T19:30:17.153+0530",
|
||||
"updated": "2019-08-16T19:31:43.489+0530",
|
||||
"jsdPublic": true
|
||||
},
|
||||
"issue": {
|
||||
"id": "10000",
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/issue/10000",
|
||||
"key": "SP-1",
|
||||
"fields": {
|
||||
"summary": "Add support for newer format Jira issue comment events",
|
||||
"issuetype": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/issuetype/10100",
|
||||
"id": "10100",
|
||||
"description": "A task that needs to be done.",
|
||||
"iconUrl": "https://f20171170.atlassian.net/secure/viewavatar?size=medium&avatarId=10318&avatarType=issuetype",
|
||||
"name": "Task",
|
||||
"subtask": false,
|
||||
"avatarId": 10318,
|
||||
"entityId": "7781fe72-66c8-43f7-b4cb-ef2482548605"
|
||||
},
|
||||
"project": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/project/10000",
|
||||
"id": "10000",
|
||||
"key": "SP",
|
||||
"name": "Sample Project",
|
||||
"projectTypeKey": "software",
|
||||
"simplified": true,
|
||||
"avatarUrls": {
|
||||
"48x48": "https://f20171170.atlassian.net/secure/projectavatar?pid=10000&avatarId=10410",
|
||||
"24x24": "https://f20171170.atlassian.net/secure/projectavatar?size=small&s=small&pid=10000&avatarId=10410",
|
||||
"16x16": "https://f20171170.atlassian.net/secure/projectavatar?size=xsmall&s=xsmall&pid=10000&avatarId=10410",
|
||||
"32x32": "https://f20171170.atlassian.net/secure/projectavatar?size=medium&s=medium&pid=10000&avatarId=10410"
|
||||
}
|
||||
},
|
||||
"assignee": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/user?accountId=5c76b994e1bcdf6294d0eb0f",
|
||||
"name": "admin",
|
||||
"key": "admin",
|
||||
"accountId": "5c76b994e1bcdf6294d0eb0f",
|
||||
"emailAddress": "f20171170@pilani.bits-pilani.ac.in",
|
||||
"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",
|
||||
"24x24": "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=24&s=24",
|
||||
"16x16": "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=16&s=16",
|
||||
"32x32": "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=32&s=32"
|
||||
},
|
||||
"displayName": "Hemanth V. Alluri",
|
||||
"active": true,
|
||||
"timeZone": "Asia/Calcutta",
|
||||
"accountType": "atlassian"
|
||||
},
|
||||
"priority": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/priority/3",
|
||||
"iconUrl": "https://f20171170.atlassian.net/images/icons/priorities/medium.svg",
|
||||
"name": "Medium",
|
||||
"id": "3"
|
||||
},
|
||||
"status": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/status/10000",
|
||||
"description": "",
|
||||
"iconUrl": "https://f20171170.atlassian.net/",
|
||||
"name": "To Do",
|
||||
"id": "10000",
|
||||
"statusCategory": {
|
||||
"self": "https://f20171170.atlassian.net/rest/api/2/statuscategory/2",
|
||||
"id": 2,
|
||||
"key": "new",
|
||||
"colorName": "blue-gray",
|
||||
"name": "To Do"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"accountId": "1234asdfjlsweoiruoso",
|
||||
"username": "eeshangarg"
|
||||
}
|
||||
123
zerver/webhooks/jira/fixtures/issue_created.json
Normal file
123
zerver/webhooks/jira/fixtures/issue_created.json
Normal file
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"webhookEvent": "jira:issue_created",
|
||||
"issue_event_type_name":"issue_created",
|
||||
"timestamp": 1364403238369,
|
||||
"user": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"issue": {
|
||||
"id": "10400",
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/10400",
|
||||
"key": "BUG-15",
|
||||
"fields": {
|
||||
"summary": "New bug with hook",
|
||||
"progress": {
|
||||
"progress": 0,
|
||||
"total": 0
|
||||
},
|
||||
"timetracking": {},
|
||||
"issuetype": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issuetype/1",
|
||||
"id": "1",
|
||||
"description": "A problem which impairs or prevents the functions of the product.",
|
||||
"iconUrl": "http://lfranchi.com:8080/images/icons/bug.gif",
|
||||
"name": "Bug",
|
||||
"subtask": false
|
||||
},
|
||||
"votes": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/BUG-15/votes",
|
||||
"votes": 0,
|
||||
"hasVoted": false
|
||||
},
|
||||
"resolution": null,
|
||||
"fixVersions": [],
|
||||
"resolutiondate": null,
|
||||
"timespent": null,
|
||||
"reporter": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"aggregatetimeoriginalestimate": null,
|
||||
"created": "2013-03-27T16:53:58.301+0000",
|
||||
"updated": "2013-03-27T16:53:58.301+0000",
|
||||
"description": "Fix me please",
|
||||
"priority": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/priority/3",
|
||||
"iconUrl": "http://lfranchi.com:8080/images/icons/priority_major.gif",
|
||||
"name": "Major",
|
||||
"id": "3"
|
||||
},
|
||||
"duedate": null,
|
||||
"issuelinks": [],
|
||||
"watches": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/BUG-15/watchers",
|
||||
"watchCount": 0,
|
||||
"isWatching": false
|
||||
},
|
||||
"worklog": {
|
||||
"startAt": 0,
|
||||
"maxResults": 0,
|
||||
"total": 0,
|
||||
"worklogs": []
|
||||
},
|
||||
"customfield_10000": null,
|
||||
"subtasks": [],
|
||||
"status": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/status/1",
|
||||
"description": "The issue is open and ready for the assignee to start work on it.",
|
||||
"iconUrl": "http://lfranchi.com:8080/images/icons/status_open.gif",
|
||||
"name": "Open",
|
||||
"id": "1"
|
||||
},
|
||||
"labels": [],
|
||||
"workratio": -1,
|
||||
"assignee": null,
|
||||
"attachment": [],
|
||||
"aggregatetimeestimate": null,
|
||||
"project": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/project/BUG",
|
||||
"id": "10000",
|
||||
"key": "BUG",
|
||||
"name": "buggery-test",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/projectavatar?size=small&pid=10000&avatarId=10011",
|
||||
"48x48": "http://lfranchi.com:8080/secure/projectavatar?pid=10000&avatarId=10011"
|
||||
}
|
||||
},
|
||||
"versions": [],
|
||||
"environment": null,
|
||||
"timeestimate": null,
|
||||
"aggregateprogress": {
|
||||
"progress": 0,
|
||||
"total": 0
|
||||
},
|
||||
"lastViewed": null,
|
||||
"components": [],
|
||||
"comment": {
|
||||
"startAt": 0,
|
||||
"maxResults": 0,
|
||||
"total": 0,
|
||||
"comments": []
|
||||
},
|
||||
"timeoriginalestimate": null,
|
||||
"aggregatetimespent": null
|
||||
}
|
||||
}
|
||||
}
|
||||
158
zerver/webhooks/jira/fixtures/issue_created_with_assignee.json
Normal file
158
zerver/webhooks/jira/fixtures/issue_created_with_assignee.json
Normal file
@@ -0,0 +1,158 @@
|
||||
{
|
||||
"webhookEvent": "jira:issue_created",
|
||||
"issue_event_type_name":"issue_created",
|
||||
"user": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/user?username=bwilliams",
|
||||
"name": "bwilliams",
|
||||
"accountId": "99:e2f12cf6-839d-4ea2-ae07-e1a59cb009c8",
|
||||
"emailAddress": "bwilliams@example.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",
|
||||
"24x24": "https://zulipp.atlassian.net/secure/useravatar?size=small&avatarId=10122",
|
||||
"32x32": "https://zulipp.atlassian.net/secure/useravatar?size=medium&avatarId=10122",
|
||||
"48x48": "https://zulipp.atlassian.net/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Bo Williams",
|
||||
"active": true
|
||||
},
|
||||
"issue": {
|
||||
"id": "10003",
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/issue/10003",
|
||||
"key": "TEST-4",
|
||||
"fields": {
|
||||
"summary": "Test Created Assignee",
|
||||
"progress": {
|
||||
"progress": 0,
|
||||
"total": 0
|
||||
},
|
||||
"timetracking": {},
|
||||
"issuetype": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/issuetype/2",
|
||||
"id": "2",
|
||||
"description": "A new feature of the product, which has yet to be developed.",
|
||||
"iconUrl": "https://zulipp.atlassian.net/images/icons/issuetypes/newfeature.png",
|
||||
"name": "New Feature",
|
||||
"subtask": false
|
||||
},
|
||||
"timespent": null,
|
||||
"reporter": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/user?username=bwilliams",
|
||||
"name": "bwilliams",
|
||||
"accountId": "99:e2f12cf6-839d-4ea2-ae07-e1a59cb009c8",
|
||||
"emailAddress": "bwilliams@example.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",
|
||||
"24x24": "https://zulipp.atlassian.net/secure/useravatar?size=small&avatarId=10122",
|
||||
"32x32": "https://zulipp.atlassian.net/secure/useravatar?size=medium&avatarId=10122",
|
||||
"48x48": "https://zulipp.atlassian.net/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Bo Williams",
|
||||
"active": true
|
||||
},
|
||||
"created": "2013-09-06T11:20:24.101-0400",
|
||||
"updated": "2013-09-06T11:20:24.101-0400",
|
||||
"priority": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/priority/3",
|
||||
"iconUrl": "https://zulipp.atlassian.net/images/icons/priorities/major.png",
|
||||
"name": "Major",
|
||||
"id": "3"
|
||||
},
|
||||
"description": "This is the description, so descriptive it is",
|
||||
"customfield_10001": null,
|
||||
"customfield_10002": null,
|
||||
"customfield_10003": null,
|
||||
"issuelinks": [],
|
||||
"customfield_10000": null,
|
||||
"subtasks": [],
|
||||
"customfield_10008": null,
|
||||
"customfield_10007": null,
|
||||
"status": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/status/10001",
|
||||
"description": "",
|
||||
"iconUrl": "https://zulipp.atlassian.net/images/icons/statuses/open.png",
|
||||
"name": "To Do",
|
||||
"id": "10001"
|
||||
},
|
||||
"customfield_10006": "4",
|
||||
"labels": [],
|
||||
"workratio": -1,
|
||||
"project": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/project/10000",
|
||||
"id": "10000",
|
||||
"key": "TEST",
|
||||
"name": "TestProject",
|
||||
"avatarUrls": {
|
||||
"16x16": "https://zulipp.atlassian.net/secure/projectavatar?size=xsmall&pid=10000&avatarId=10011",
|
||||
"24x24": "https://zulipp.atlassian.net/secure/projectavatar?size=small&pid=10000&avatarId=10011",
|
||||
"32x32": "https://zulipp.atlassian.net/secure/projectavatar?size=medium&pid=10000&avatarId=10011",
|
||||
"48x48": "https://zulipp.atlassian.net/secure/projectavatar?pid=10000&avatarId=10011"
|
||||
}
|
||||
},
|
||||
"environment": null,
|
||||
"customfield_10014": null,
|
||||
"customfield_10015": null,
|
||||
"lastViewed": null,
|
||||
"aggregateprogress": {
|
||||
"progress": 0,
|
||||
"total": 0
|
||||
},
|
||||
"customfield_10012": null,
|
||||
"components": [],
|
||||
"customfield_10013": null,
|
||||
"comment": {
|
||||
"startAt": 0,
|
||||
"maxResults": 0,
|
||||
"total": 0,
|
||||
"comments": []
|
||||
},
|
||||
"timeoriginalestimate": null,
|
||||
"customfield_10017": null,
|
||||
"customfield_10016": null,
|
||||
"customfield_10019": null,
|
||||
"customfield_10018": null,
|
||||
"votes": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/issue/TEST-4/votes",
|
||||
"votes": 0,
|
||||
"hasVoted": false
|
||||
},
|
||||
"fixVersions": [],
|
||||
"resolution": null,
|
||||
"resolutiondate": null,
|
||||
"aggregatetimeoriginalestimate": null,
|
||||
"duedate": null,
|
||||
"customfield_10020": null,
|
||||
"customfield_10021": "Not Started",
|
||||
"watches": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/issue/TEST-4/watchers",
|
||||
"watchCount": 0,
|
||||
"isWatching": false
|
||||
},
|
||||
"worklog": {
|
||||
"startAt": 0,
|
||||
"maxResults": 20,
|
||||
"total": 0,
|
||||
"worklogs": []
|
||||
},
|
||||
"assignee": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/user?username=klin",
|
||||
"name": "klin",
|
||||
"accountId": "99:a5b6c7d8-9012-4e3f-8b7a-1c2d3e4f5a6b",
|
||||
"emailAddress": "klin@example.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",
|
||||
"24x24": "https://zulipp.atlassian.net/secure/useravatar?size=small&avatarId=10122",
|
||||
"32x32": "https://zulipp.atlassian.net/secure/useravatar?size=medium&avatarId=10122",
|
||||
"48x48": "https://zulipp.atlassian.net/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Kevin Lin",
|
||||
"active": true
|
||||
},
|
||||
"attachment": [],
|
||||
"aggregatetimeestimate": null,
|
||||
"versions": [],
|
||||
"timeestimate": null,
|
||||
"aggregatetimespent": null
|
||||
}
|
||||
},
|
||||
"timestamp": 1378480824183
|
||||
}
|
||||
123
zerver/webhooks/jira/fixtures/issue_created_with_unicode.json
Normal file
123
zerver/webhooks/jira/fixtures/issue_created_with_unicode.json
Normal file
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"webhookEvent": "jira:issue_created",
|
||||
"issue_event_type_name":"issue_created",
|
||||
"timestamp": 1364403238369,
|
||||
"user": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchià",
|
||||
"active": true
|
||||
},
|
||||
"issue": {
|
||||
"id": "10400",
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/10400",
|
||||
"key": "BUG-15",
|
||||
"fields": {
|
||||
"summary": "New bug with à hook",
|
||||
"progress": {
|
||||
"progress": 0,
|
||||
"total": 0
|
||||
},
|
||||
"timetracking": {},
|
||||
"issuetype": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issuetype/1",
|
||||
"id": "1",
|
||||
"description": "A problem which impairs or prevents the functions of the product.",
|
||||
"iconUrl": "http://lfranchi.com:8080/images/icons/bug.gif",
|
||||
"name": "Bug",
|
||||
"subtask": false
|
||||
},
|
||||
"votes": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/BUG-15/votes",
|
||||
"votes": 0,
|
||||
"hasVoted": false
|
||||
},
|
||||
"resolution": null,
|
||||
"fixVersions": [],
|
||||
"resolutiondate": null,
|
||||
"timespent": null,
|
||||
"reporter": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"aggregatetimeoriginalestimate": null,
|
||||
"created": "2013-03-27T16:53:58.301+0000",
|
||||
"updated": "2013-03-27T16:53:58.301+0000",
|
||||
"description": "Fix me please",
|
||||
"priority": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/priority/3",
|
||||
"iconUrl": "http://lfranchi.com:8080/images/icons/priority_major.gif",
|
||||
"name": "Major",
|
||||
"id": "3"
|
||||
},
|
||||
"duedate": null,
|
||||
"issuelinks": [],
|
||||
"watches": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/BUG-15/watchers",
|
||||
"watchCount": 0,
|
||||
"isWatching": false
|
||||
},
|
||||
"worklog": {
|
||||
"startAt": 0,
|
||||
"maxResults": 0,
|
||||
"total": 0,
|
||||
"worklogs": []
|
||||
},
|
||||
"customfield_10000": null,
|
||||
"subtasks": [],
|
||||
"status": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/status/1",
|
||||
"description": "The issue is open and ready for the assignee to start work on it.",
|
||||
"iconUrl": "http://lfranchi.com:8080/images/icons/status_open.gif",
|
||||
"name": "Open",
|
||||
"id": "1"
|
||||
},
|
||||
"labels": [],
|
||||
"workratio": -1,
|
||||
"assignee": null,
|
||||
"attachment": [],
|
||||
"aggregatetimeestimate": null,
|
||||
"project": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/project/BUG",
|
||||
"id": "10000",
|
||||
"key": "BUG",
|
||||
"name": "buggery-test",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/projectavatar?size=small&pid=10000&avatarId=10011",
|
||||
"48x48": "http://lfranchi.com:8080/secure/projectavatar?pid=10000&avatarId=10011"
|
||||
}
|
||||
},
|
||||
"versions": [],
|
||||
"environment": null,
|
||||
"timeestimate": null,
|
||||
"aggregateprogress": {
|
||||
"progress": 0,
|
||||
"total": 0
|
||||
},
|
||||
"lastViewed": null,
|
||||
"components": [],
|
||||
"comment": {
|
||||
"startAt": 0,
|
||||
"maxResults": 0,
|
||||
"total": 0,
|
||||
"comments": []
|
||||
},
|
||||
"timeoriginalestimate": null,
|
||||
"aggregatetimespent": null
|
||||
}
|
||||
}
|
||||
}
|
||||
166
zerver/webhooks/jira/fixtures/issue_deleted.json
Normal file
166
zerver/webhooks/jira/fixtures/issue_deleted.json
Normal file
@@ -0,0 +1,166 @@
|
||||
{
|
||||
"webhookEvent": "jira:issue_deleted",
|
||||
"issue_event_type_name":"issue_deleted",
|
||||
"timestamp": 1364403969102,
|
||||
"user": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"issue": {
|
||||
"id": "10400",
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/10400",
|
||||
"key": "BUG-15",
|
||||
"fields": {
|
||||
"summary": "New bug with hook",
|
||||
"progress": {
|
||||
"progress": 0,
|
||||
"total": 0
|
||||
},
|
||||
"timetracking": {},
|
||||
"issuetype": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issuetype/1",
|
||||
"id": "1",
|
||||
"description": "A problem which impairs or prevents the functions of the product.",
|
||||
"iconUrl": "http://lfranchi.com:8080/images/icons/bug.gif",
|
||||
"name": "Bug",
|
||||
"subtask": false
|
||||
},
|
||||
"votes": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/BUG-15/votes",
|
||||
"votes": 0,
|
||||
"hasVoted": false
|
||||
},
|
||||
"resolution": null,
|
||||
"fixVersions": [],
|
||||
"resolutiondate": null,
|
||||
"timespent": null,
|
||||
"reporter": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"aggregatetimeoriginalestimate": null,
|
||||
"created": "2013-03-27T16:53:58.301+0000",
|
||||
"updated": "2013-03-27T17:05:34.250+0000",
|
||||
"description": "Fix me please",
|
||||
"priority": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/priority/3",
|
||||
"iconUrl": "http://lfranchi.com:8080/images/icons/priority_major.gif",
|
||||
"name": "Major",
|
||||
"id": "3"
|
||||
},
|
||||
"duedate": null,
|
||||
"issuelinks": [],
|
||||
"watches": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/BUG-15/watchers",
|
||||
"watchCount": 1,
|
||||
"isWatching": true
|
||||
},
|
||||
"worklog": {
|
||||
"startAt": 0,
|
||||
"maxResults": 0,
|
||||
"total": 0,
|
||||
"worklogs": []
|
||||
},
|
||||
"customfield_10000": null,
|
||||
"subtasks": [],
|
||||
"status": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/status/1",
|
||||
"description": "The issue is open and ready for the assignee to start work on it.",
|
||||
"iconUrl": "http://lfranchi.com:8080/images/icons/status_open.gif",
|
||||
"name": "Open",
|
||||
"id": "1"
|
||||
},
|
||||
"labels": [],
|
||||
"workratio": -1,
|
||||
"assignee": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"attachment": [],
|
||||
"aggregatetimeestimate": null,
|
||||
"project": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/project/BUG",
|
||||
"id": "10000",
|
||||
"key": "BUG",
|
||||
"name": "buggery-test",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/projectavatar?size=small&pid=10000&avatarId=10011",
|
||||
"48x48": "http://lfranchi.com:8080/secure/projectavatar?pid=10000&avatarId=10011"
|
||||
}
|
||||
},
|
||||
"versions": [],
|
||||
"environment": null,
|
||||
"timeestimate": null,
|
||||
"aggregateprogress": {
|
||||
"progress": 0,
|
||||
"total": 0
|
||||
},
|
||||
"lastViewed": "2013-03-27T17:06:09.088+0000",
|
||||
"components": [],
|
||||
"comment": {
|
||||
"startAt": 0,
|
||||
"maxResults": 1,
|
||||
"total": 1,
|
||||
"comments": [
|
||||
{
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/10400/comment/10400",
|
||||
"id": "10400",
|
||||
"author": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"body": "Adding a comment. Oh, what a comment it is!",
|
||||
"updateAuthor": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"created": "2013-03-27T17:05:34.250+0000",
|
||||
"updated": "2013-03-27T17:05:34.250+0000"
|
||||
}
|
||||
]
|
||||
},
|
||||
"timeoriginalestimate": null,
|
||||
"aggregatetimespent": null
|
||||
}
|
||||
}
|
||||
}
|
||||
197
zerver/webhooks/jira/fixtures/issue_unknown.json
Normal file
197
zerver/webhooks/jira/fixtures/issue_unknown.json
Normal file
@@ -0,0 +1,197 @@
|
||||
{
|
||||
"webhookEvent": "jira:issue_unknown",
|
||||
"issue_event_type_name":"issue_unknown",
|
||||
"timestamp": 1364403934253,
|
||||
"user": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"issue": {
|
||||
"id": "10400",
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/10400",
|
||||
"key": "BUG-15",
|
||||
"fields": {
|
||||
"summary": "New bug with hook",
|
||||
"progress": {
|
||||
"progress": 0,
|
||||
"total": 0
|
||||
},
|
||||
"timetracking": {},
|
||||
"issuetype": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issuetype/1",
|
||||
"id": "1",
|
||||
"description": "A problem which impairs or prevents the functions of the product.",
|
||||
"iconUrl": "http://lfranchi.com:8080/images/icons/bug.gif",
|
||||
"name": "Bug",
|
||||
"subtask": false
|
||||
},
|
||||
"votes": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/BUG-15/votes",
|
||||
"votes": 0,
|
||||
"hasVoted": false
|
||||
},
|
||||
"resolution": null,
|
||||
"fixVersions": [],
|
||||
"resolutiondate": null,
|
||||
"timespent": null,
|
||||
"reporter": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"aggregatetimeoriginalestimate": null,
|
||||
"created": "2013-03-27T16:53:58.301+0000",
|
||||
"updated": "2013-03-27T16:57:45.287+0000",
|
||||
"description": "Fix me please",
|
||||
"priority": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/priority/3",
|
||||
"iconUrl": "http://lfranchi.com:8080/images/icons/priority_major.gif",
|
||||
"name": "Major",
|
||||
"id": "3"
|
||||
},
|
||||
"duedate": null,
|
||||
"issuelinks": [],
|
||||
"watches": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/BUG-15/watchers",
|
||||
"watchCount": 1,
|
||||
"isWatching": true
|
||||
},
|
||||
"worklog": {
|
||||
"startAt": 0,
|
||||
"maxResults": 0,
|
||||
"total": 0,
|
||||
"worklogs": []
|
||||
},
|
||||
"customfield_10000": null,
|
||||
"subtasks": [],
|
||||
"status": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/status/1",
|
||||
"description": "The issue is open and ready for the assignee to start work on it.",
|
||||
"iconUrl": "http://lfranchi.com:8080/images/icons/status_open.gif",
|
||||
"name": "Open",
|
||||
"id": "1"
|
||||
},
|
||||
"labels": [],
|
||||
"workratio": -1,
|
||||
"assignee": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"attachment": [],
|
||||
"aggregatetimeestimate": null,
|
||||
"project": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/project/BUG",
|
||||
"id": "10000",
|
||||
"key": "BUG",
|
||||
"name": "buggery-test",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/projectavatar?size=small&pid=10000&avatarId=10011",
|
||||
"48x48": "http://lfranchi.com:8080/secure/projectavatar?pid=10000&avatarId=10011"
|
||||
}
|
||||
},
|
||||
"versions": [],
|
||||
"environment": null,
|
||||
"timeestimate": null,
|
||||
"aggregateprogress": {
|
||||
"progress": 0,
|
||||
"total": 0
|
||||
},
|
||||
"lastViewed": "2013-03-27T16:57:45.258+0000",
|
||||
"components": [],
|
||||
"comment": {
|
||||
"startAt": 0,
|
||||
"maxResults": 1,
|
||||
"total": 1,
|
||||
"comments": [
|
||||
{
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/10400/comment/10400",
|
||||
"id": "10400",
|
||||
"author": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"body": "Adding a comment. Oh, what a comment it is!",
|
||||
"updateAuthor": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"created": "2013-03-27T17:05:34.250+0000",
|
||||
"updated": "2013-03-27T17:05:34.250+0000"
|
||||
}
|
||||
]
|
||||
},
|
||||
"timeoriginalestimate": null,
|
||||
"aggregatetimespent": null
|
||||
}
|
||||
},
|
||||
"comment": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/10400/comment/10400",
|
||||
"id": "10400",
|
||||
"author": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"body": "Adding a comment. Oh, what a comment it is!",
|
||||
"updateAuthor": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"created": "2013-03-27T17:05:34.250+0000",
|
||||
"updated": "2013-03-27T17:05:34.250+0000"
|
||||
}
|
||||
}
|
||||
228
zerver/webhooks/jira/fixtures/issue_updated__priority.json
Normal file
228
zerver/webhooks/jira/fixtures/issue_updated__priority.json
Normal file
@@ -0,0 +1,228 @@
|
||||
{
|
||||
"webhookEvent": "jira:issue_updated",
|
||||
"issue_event_type_name":"issue_updated",
|
||||
"user": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/user?username=leo",
|
||||
"name": "leo",
|
||||
"accountId": "99:e2f12cf6-839d-4ea2-ae07-e1a59cb009c8",
|
||||
"emailAddress": "leo@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",
|
||||
"24x24": "https://zulipp.atlassian.net/secure/useravatar?size=small&avatarId=10122",
|
||||
"32x32": "https://zulipp.atlassian.net/secure/useravatar?size=medium&avatarId=10122",
|
||||
"48x48": "https://zulipp.atlassian.net/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leonardo Franchi [Administrator]",
|
||||
"active": true
|
||||
},
|
||||
"issue": {
|
||||
"id": "10000",
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/issue/10000",
|
||||
"key": "TEST-1",
|
||||
"fields": {
|
||||
"summary": "Fix That",
|
||||
"progress": {
|
||||
"progress": 0,
|
||||
"total": 0
|
||||
},
|
||||
"timetracking": {},
|
||||
"issuetype": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/issuetype/2",
|
||||
"id": "2",
|
||||
"description": "A new feature of the product, which has yet to be developed.",
|
||||
"iconUrl": "https://zulipp.atlassian.net/images/icons/issuetypes/newfeature.png",
|
||||
"name": "New Feature",
|
||||
"subtask": false
|
||||
},
|
||||
"timespent": null,
|
||||
"reporter": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/user?username=leo",
|
||||
"name": "leo",
|
||||
"accountId": "99:e2f12cf6-839d-4ea2-ae07-e1a59cb009c8",
|
||||
"emailAddress": "leo@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",
|
||||
"24x24": "https://zulipp.atlassian.net/secure/useravatar?size=small&avatarId=10122",
|
||||
"32x32": "https://zulipp.atlassian.net/secure/useravatar?size=medium&avatarId=10122",
|
||||
"48x48": "https://zulipp.atlassian.net/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leonardo Franchi [Administrator]",
|
||||
"active": true
|
||||
},
|
||||
"created": "2013-09-06T11:07:19.972-0400",
|
||||
"updated": "2014-02-26T14:57:13.139-0500",
|
||||
"priority": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/priority/3",
|
||||
"iconUrl": "https://zulipp.atlassian.net/images/icons/priorities/major.png",
|
||||
"name": "Major",
|
||||
"id": "3"
|
||||
},
|
||||
"description": "Please",
|
||||
"customfield_10001": null,
|
||||
"customfield_10002": null,
|
||||
"customfield_10003": null,
|
||||
"issuelinks": [],
|
||||
"customfield_10000": null,
|
||||
"subtasks": [],
|
||||
"customfield_10008": null,
|
||||
"customfield_10007": null,
|
||||
"status": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/status/10001",
|
||||
"description": "",
|
||||
"iconUrl": "https://zulipp.atlassian.net/images/icons/statuses/open.png",
|
||||
"name": "To Do",
|
||||
"id": "10001",
|
||||
"statusCategory": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/statuscategory/2",
|
||||
"id": 2,
|
||||
"key": "new",
|
||||
"colorName": "blue-gray",
|
||||
"name": "New"
|
||||
}
|
||||
},
|
||||
"customfield_10006": "1",
|
||||
"labels": [],
|
||||
"workratio": -1,
|
||||
"project": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/project/10000",
|
||||
"id": "10000",
|
||||
"key": "TEST",
|
||||
"name": "TestProject",
|
||||
"avatarUrls": {
|
||||
"16x16": "https://zulipp.atlassian.net/secure/projectavatar?size=xsmall&pid=10000&avatarId=10011",
|
||||
"24x24": "https://zulipp.atlassian.net/secure/projectavatar?size=small&pid=10000&avatarId=10011",
|
||||
"32x32": "https://zulipp.atlassian.net/secure/projectavatar?size=medium&pid=10000&avatarId=10011",
|
||||
"48x48": "https://zulipp.atlassian.net/secure/projectavatar?pid=10000&avatarId=10011"
|
||||
}
|
||||
},
|
||||
"environment": null,
|
||||
"customfield_10014": null,
|
||||
"customfield_10015": null,
|
||||
"lastViewed": "2014-02-26T14:56:59.145-0500",
|
||||
"aggregateprogress": {
|
||||
"progress": 0,
|
||||
"total": 0
|
||||
},
|
||||
"customfield_10012": null,
|
||||
"components": [],
|
||||
"customfield_10013": null,
|
||||
"comment": {
|
||||
"startAt": 0,
|
||||
"maxResults": 1,
|
||||
"total": 1,
|
||||
"comments": [
|
||||
{
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/issue/10000/comment/10100",
|
||||
"id": "10100",
|
||||
"author": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/user?username=leo",
|
||||
"name": "leo",
|
||||
"accountId": "99:e2f12cf6-839d-4ea2-ae07-e1a59cb009c8",
|
||||
"emailAddress": "leo@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",
|
||||
"24x24": "https://zulipp.atlassian.net/secure/useravatar?size=small&avatarId=10122",
|
||||
"32x32": "https://zulipp.atlassian.net/secure/useravatar?size=medium&avatarId=10122",
|
||||
"48x48": "https://zulipp.atlassian.net/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leonardo Franchi [Administrator]",
|
||||
"active": true
|
||||
},
|
||||
"body": "test",
|
||||
"updateAuthor": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/user?username=leo",
|
||||
"name": "leo",
|
||||
"accountId": "99:e2f12cf6-839d-4ea2-ae07-e1a59cb009c8",
|
||||
"emailAddress": "leo@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",
|
||||
"24x24": "https://zulipp.atlassian.net/secure/useravatar?size=small&avatarId=10122",
|
||||
"32x32": "https://zulipp.atlassian.net/secure/useravatar?size=medium&avatarId=10122",
|
||||
"48x48": "https://zulipp.atlassian.net/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leonardo Franchi [Administrator]",
|
||||
"active": true
|
||||
},
|
||||
"created": "2014-02-26T14:55:10.416-0500",
|
||||
"updated": "2014-02-26T14:55:10.416-0500"
|
||||
}
|
||||
]
|
||||
},
|
||||
"timeoriginalestimate": null,
|
||||
"customfield_10017": null,
|
||||
"customfield_10016": null,
|
||||
"customfield_10019": null,
|
||||
"customfield_10018": null,
|
||||
"votes": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/issue/TEST-1/votes",
|
||||
"votes": 0,
|
||||
"hasVoted": false
|
||||
},
|
||||
"fixVersions": [],
|
||||
"resolution": null,
|
||||
"resolutiondate": null,
|
||||
"creator": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/user?username=leo",
|
||||
"name": "leo",
|
||||
"accountId": "99:e2f12cf6-839d-4ea2-ae07-e1a59cb009c8",
|
||||
"emailAddress": "leo@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",
|
||||
"24x24": "https://zulipp.atlassian.net/secure/useravatar?size=small&avatarId=10122",
|
||||
"32x32": "https://zulipp.atlassian.net/secure/useravatar?size=medium&avatarId=10122",
|
||||
"48x48": "https://zulipp.atlassian.net/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leonardo Franchi [Administrator]",
|
||||
"active": true
|
||||
},
|
||||
"aggregatetimeoriginalestimate": null,
|
||||
"duedate": null,
|
||||
"customfield_10020": null,
|
||||
"customfield_10021": "Not Started",
|
||||
"watches": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/issue/TEST-1/watchers",
|
||||
"watchCount": 1,
|
||||
"isWatching": true
|
||||
},
|
||||
"worklog": {
|
||||
"startAt": 0,
|
||||
"maxResults": 20,
|
||||
"total": 0,
|
||||
"worklogs": []
|
||||
},
|
||||
"assignee": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/user?username=leo",
|
||||
"name": "leo",
|
||||
"accountId": "99:e2f12cf6-839d-4ea2-ae07-e1a59cb009c8",
|
||||
"emailAddress": "leo@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "https://zulipp.atlassian.net/secure/useravatar?size=xsmall&avatarId=10122",
|
||||
"24x24": "https://zulipp.atlassian.net/secure/useravatar?size=small&avatarId=10122",
|
||||
"32x32": "https://zulipp.atlassian.net/secure/useravatar?size=medium&avatarId=10122",
|
||||
"48x48": "https://zulipp.atlassian.net/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leonardo Franchi [Administrator]",
|
||||
"active": true
|
||||
},
|
||||
"attachment": [],
|
||||
"aggregatetimeestimate": null,
|
||||
"versions": [],
|
||||
"timeestimate": null,
|
||||
"aggregatetimespent": null
|
||||
}
|
||||
},
|
||||
"changelog": {
|
||||
"id": "10102",
|
||||
"items": [
|
||||
{
|
||||
"field": "priority",
|
||||
"fieldtype": "jira",
|
||||
"from": "2",
|
||||
"fromString": "Critical",
|
||||
"to": "3",
|
||||
"toString": "Major"
|
||||
}
|
||||
]
|
||||
},
|
||||
"timestamp": 1393444633145
|
||||
}
|
||||
147
zerver/webhooks/jira/fixtures/issue_updated__reassigned.json
Normal file
147
zerver/webhooks/jira/fixtures/issue_updated__reassigned.json
Normal file
@@ -0,0 +1,147 @@
|
||||
{
|
||||
"webhookEvent": "jira:issue_updated",
|
||||
"issue_event_type_name":"issue_generic",
|
||||
"timestamp": 1364403465325,
|
||||
"user": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"issue": {
|
||||
"id": "10400",
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/10400",
|
||||
"key": "BUG-15",
|
||||
"fields": {
|
||||
"summary": "New bug with hook",
|
||||
"progress": {
|
||||
"progress": 0,
|
||||
"total": 0
|
||||
},
|
||||
"timetracking": {},
|
||||
"issuetype": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issuetype/1",
|
||||
"id": "1",
|
||||
"description": "A problem which impairs or prevents the functions of the product.",
|
||||
"iconUrl": "http://lfranchi.com:8080/images/icons/bug.gif",
|
||||
"name": "Bug",
|
||||
"subtask": false
|
||||
},
|
||||
"votes": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/BUG-15/votes",
|
||||
"votes": 0,
|
||||
"hasVoted": false
|
||||
},
|
||||
"resolution": null,
|
||||
"fixVersions": [],
|
||||
"resolutiondate": null,
|
||||
"timespent": null,
|
||||
"reporter": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"aggregatetimeoriginalestimate": null,
|
||||
"created": "2013-03-27T16:53:58.301+0000",
|
||||
"updated": "2013-03-27T16:57:45.287+0000",
|
||||
"description": "Fix me please",
|
||||
"priority": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/priority/3",
|
||||
"iconUrl": "http://lfranchi.com:8080/images/icons/priority_major.gif",
|
||||
"name": "Major",
|
||||
"id": "3"
|
||||
},
|
||||
"duedate": null,
|
||||
"issuelinks": [],
|
||||
"watches": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/issue/BUG-15/watchers",
|
||||
"watchCount": 1,
|
||||
"isWatching": true
|
||||
},
|
||||
"worklog": {
|
||||
"startAt": 0,
|
||||
"maxResults": 0,
|
||||
"total": 0,
|
||||
"worklogs": []
|
||||
},
|
||||
"customfield_10000": null,
|
||||
"subtasks": [],
|
||||
"status": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/status/1",
|
||||
"description": "The issue is open and ready for the assignee to start work on it.",
|
||||
"iconUrl": "http://lfranchi.com:8080/images/icons/status_open.gif",
|
||||
"name": "Open",
|
||||
"id": "1"
|
||||
},
|
||||
"labels": [],
|
||||
"workratio": -1,
|
||||
"assignee": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/user?username=lfranchi",
|
||||
"name": "lfranchi",
|
||||
"accountId": "99:27935d01-92a7-4687-8272-a9b8d3b2ae2e",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/useravatar?size=small&avatarId=10122",
|
||||
"48x48": "http://lfranchi.com:8080/secure/useravatar?avatarId=10122"
|
||||
},
|
||||
"displayName": "Leo Franchi",
|
||||
"active": true
|
||||
},
|
||||
"attachment": [],
|
||||
"aggregatetimeestimate": null,
|
||||
"project": {
|
||||
"self": "http://lfranchi.com:8080/rest/api/2/project/BUG",
|
||||
"id": "10000",
|
||||
"key": "BUG",
|
||||
"name": "buggery-test",
|
||||
"avatarUrls": {
|
||||
"16x16": "http://lfranchi.com:8080/secure/projectavatar?size=small&pid=10000&avatarId=10011",
|
||||
"48x48": "http://lfranchi.com:8080/secure/projectavatar?pid=10000&avatarId=10011"
|
||||
}
|
||||
},
|
||||
"versions": [],
|
||||
"environment": null,
|
||||
"timeestimate": null,
|
||||
"aggregateprogress": {
|
||||
"progress": 0,
|
||||
"total": 0
|
||||
},
|
||||
"lastViewed": "2013-03-27T16:57:45.258+0000",
|
||||
"components": [],
|
||||
"comment": {
|
||||
"startAt": 0,
|
||||
"maxResults": 0,
|
||||
"total": 0,
|
||||
"comments": []
|
||||
},
|
||||
"timeoriginalestimate": null,
|
||||
"aggregatetimespent": null
|
||||
}
|
||||
},
|
||||
"changelog": {
|
||||
"id": "10600",
|
||||
"items": [
|
||||
{
|
||||
"field": "assignee",
|
||||
"fieldtype": "jira",
|
||||
"from": null,
|
||||
"fromString": null,
|
||||
"to": "lfranchi",
|
||||
"toString": "Leo Franchi"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
189
zerver/webhooks/jira/fixtures/issue_updated__status.json
Normal file
189
zerver/webhooks/jira/fixtures/issue_updated__status.json
Normal file
@@ -0,0 +1,189 @@
|
||||
{
|
||||
"timestamp": 1485797534721,
|
||||
"webhookEvent": "jira:issue_updated",
|
||||
"issue_event_type_name": "issue_generic",
|
||||
"user": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/user?username=admin",
|
||||
"name": "admin",
|
||||
"accountId": "99:b8d8a054-2e12-4839-bd5f-5f2b7c5f5e3a",
|
||||
"key": "admin",
|
||||
"emailAddress": "othello@zulip.com",
|
||||
"avatarUrls": {
|
||||
"48x48": "https://secure.gravatar.com/avatar/d832c4f48fb6bc323411fbbcd25079ad?d=mm&s=48",
|
||||
"24x24": "https://secure.gravatar.com/avatar/d832c4f48fb6bc323411fbbcd25079ad?d=mm&s=24",
|
||||
"16x16": "https://secure.gravatar.com/avatar/d832c4f48fb6bc323411fbbcd25079ad?d=mm&s=16",
|
||||
"32x32": "https://secure.gravatar.com/avatar/d832c4f48fb6bc323411fbbcd25079ad?d=mm&s=32"
|
||||
},
|
||||
"displayName": "Leonardo Franchi [Administrator]",
|
||||
"active": true,
|
||||
"timeZone": "Europe/Berlin"
|
||||
},
|
||||
"issue": {
|
||||
"id": "10000",
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/issue/10000",
|
||||
"key": "TEST-1",
|
||||
"fields": {
|
||||
"issuetype": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/issuetype/10101",
|
||||
"id": "10101",
|
||||
"description": "A task that needs to be done.",
|
||||
"iconUrl": "https://zulipp.atlassian.net/secure/viewavatar?size=xsmall&avatarId=10318&avatarType=issuetype",
|
||||
"name": "Task",
|
||||
"subtask": false,
|
||||
"avatarId": 10318
|
||||
},
|
||||
"timespent": null,
|
||||
"project": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/project/10000",
|
||||
"id": "10000",
|
||||
"key": "ABC",
|
||||
"name": "Fix That",
|
||||
"avatarUrls": {
|
||||
"48x48": "https://zulipp.atlassian.net/secure/projectavatar?avatarId=10324",
|
||||
"24x24": "https://zulipp.atlassian.net/secure/projectavatar?size=small&avatarId=10324",
|
||||
"16x16": "https://zulipp.atlassian.net/secure/projectavatar?size=xsmall&avatarId=10324",
|
||||
"32x32": "https://zulipp.atlassian.net/secure/projectavatar?size=medium&avatarId=10324"
|
||||
}
|
||||
},
|
||||
"fixVersions": [],
|
||||
"customfield_10110": null,
|
||||
"customfield_10111": null,
|
||||
"aggregatetimespent": null,
|
||||
"resolution": null,
|
||||
"customfield_10112": "Not started",
|
||||
"customfield_10113": null,
|
||||
"customfield_10114": null,
|
||||
"customfield_10104": null,
|
||||
"customfield_10105": null,
|
||||
"customfield_10106": null,
|
||||
"customfield_10107": null,
|
||||
"customfield_10108": null,
|
||||
"customfield_10109": null,
|
||||
"resolutiondate": null,
|
||||
"workratio": -1,
|
||||
"lastViewed": "2017-01-30T18:32:14.694+0100",
|
||||
"watches": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/issue/TEST-1/watchers",
|
||||
"watchCount": 1,
|
||||
"isWatching": true
|
||||
},
|
||||
"created": "2017-01-30T18:30:41.962+0100",
|
||||
"priority": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/priority/3",
|
||||
"iconUrl": "https://zulipp.atlassian.net/images/icons/priorities/medium.svg",
|
||||
"name": "Medium",
|
||||
"id": "3"
|
||||
},
|
||||
"customfield_10100": null,
|
||||
"customfield_10101": null,
|
||||
"customfield_10102": null,
|
||||
"labels": [],
|
||||
"customfield_10103": null,
|
||||
"timeestimate": null,
|
||||
"aggregatetimeoriginalestimate": null,
|
||||
"versions": [],
|
||||
"issuelinks": [],
|
||||
"assignee": null,
|
||||
"updated": "2017-01-30T18:32:14.716+0100",
|
||||
"status": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/status/3",
|
||||
"description": "This issue is being actively worked on at the moment by the assignee.",
|
||||
"iconUrl": "https://zulipp.atlassian.net/images/icons/statuses/inprogress.png",
|
||||
"name": "In Progress",
|
||||
"id": "3",
|
||||
"statusCategory": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/statuscategory/4",
|
||||
"id": 4,
|
||||
"key": "indeterminate",
|
||||
"colorName": "yellow",
|
||||
"name": "In Progress"
|
||||
}
|
||||
},
|
||||
"components": [],
|
||||
"timeoriginalestimate": null,
|
||||
"description": "Fix That",
|
||||
"timetracking": {},
|
||||
"customfield_10005": null,
|
||||
"attachment": [],
|
||||
"aggregatetimeestimate": null,
|
||||
"summary": "Fix That",
|
||||
"creator": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/user?username=admin",
|
||||
"name": "admin",
|
||||
"accountId": "99:b8d8a054-2e12-4839-bd5f-5f2b7c5f5e3a",
|
||||
"key": "admin",
|
||||
"emailAddress": "kolaszek@tlen.pl",
|
||||
"avatarUrls": {
|
||||
"48x48": "https://secure.gravatar.com/avatar/d832c4f48fb6bc323411fbbcd25079ad?d=mm&s=48",
|
||||
"24x24": "https://secure.gravatar.com/avatar/d832c4f48fb6bc323411fbbcd25079ad?d=mm&s=24",
|
||||
"16x16": "https://secure.gravatar.com/avatar/d832c4f48fb6bc323411fbbcd25079ad?d=mm&s=16",
|
||||
"32x32": "https://secure.gravatar.com/avatar/d832c4f48fb6bc323411fbbcd25079ad?d=mm&s=32"
|
||||
},
|
||||
"displayName": "Leonardo Franchi [Administrator]",
|
||||
"active": true,
|
||||
"timeZone": "Europe/Berlin"
|
||||
},
|
||||
"subtasks": [],
|
||||
"reporter": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/user?username=admin",
|
||||
"name": "admin",
|
||||
"accountId": "99:b8d8a054-2e12-4839-bd5f-5f2b7c5f5e3a",
|
||||
"key": "admin",
|
||||
"emailAddress": "kolaszek@tlen.pl",
|
||||
"avatarUrls": {
|
||||
"48x48": "https://secure.gravatar.com/avatar/d832c4f48fb6bc323411fbbcd25079ad?d=mm&s=48",
|
||||
"24x24": "https://secure.gravatar.com/avatar/d832c4f48fb6bc323411fbbcd25079ad?d=mm&s=24",
|
||||
"16x16": "https://secure.gravatar.com/avatar/d832c4f48fb6bc323411fbbcd25079ad?d=mm&s=16",
|
||||
"32x32": "https://secure.gravatar.com/avatar/d832c4f48fb6bc323411fbbcd25079ad?d=mm&s=32"
|
||||
},
|
||||
"displayName": "Leonardo Franchi [Administrator]",
|
||||
"active": true,
|
||||
"timeZone": "Europe/Berlin"
|
||||
},
|
||||
"customfield_10000": "{}",
|
||||
"aggregateprogress": {
|
||||
"progress": 0,
|
||||
"total": 0
|
||||
},
|
||||
"customfield_10001": null,
|
||||
"customfield_10115": null,
|
||||
"customfield_10116": "0|hzzzzz:",
|
||||
"environment": null,
|
||||
"duedate": null,
|
||||
"progress": {
|
||||
"progress": 0,
|
||||
"total": 0
|
||||
},
|
||||
"comment": {
|
||||
"comments": [],
|
||||
"maxResults": 0,
|
||||
"total": 0,
|
||||
"startAt": 0
|
||||
},
|
||||
"votes": {
|
||||
"self": "https://zulipp.atlassian.net/rest/api/2/issue/TEST-1/votes",
|
||||
"votes": 0,
|
||||
"hasVoted": false
|
||||
},
|
||||
"worklog": {
|
||||
"startAt": 0,
|
||||
"maxResults": 20,
|
||||
"total": 0,
|
||||
"worklogs": []
|
||||
}
|
||||
}
|
||||
},
|
||||
"changelog": {
|
||||
"id": "10000",
|
||||
"items": [
|
||||
{
|
||||
"field": "status",
|
||||
"fieldtype": "jira",
|
||||
"from": "10000",
|
||||
"fromString": "To Do",
|
||||
"to": "3",
|
||||
"toString": "In Progress"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user