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:
0
zerver/webhooks/taiga/__init__.py
Normal file
0
zerver/webhooks/taiga/__init__.py
Normal file
28
zerver/webhooks/taiga/doc.md
Normal file
28
zerver/webhooks/taiga/doc.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# Zulip Taiga integration
|
||||
|
||||
Receive Zulip notifications for your Taiga projects!
|
||||
|
||||
{start_tabs}
|
||||
|
||||
1. {!create-an-incoming-webhook.md!}
|
||||
|
||||
1. {!generate-webhook-url-basic.md!}
|
||||
|
||||
1. Go to your **Projects Dashboard** on Taiga, and select the project you'd like to
|
||||
receive notifications for.
|
||||
|
||||
1. Go to **Admin**, and select **Integrations**. Click **Add a new webhook**.
|
||||
|
||||
1. Set **Name** to a name of your choice, such as `Zulip`. Set **URL** to the
|
||||
URL generated above, and set **Secret key** to the API key of the bot created
|
||||
above. Save the form.
|
||||
|
||||
{end_tabs}
|
||||
|
||||
{!congrats.md!}
|
||||
|
||||

|
||||
|
||||
### Related documentation
|
||||
|
||||
{!webhooks-url-specification.md!}
|
||||
76
zerver/webhooks/taiga/fixtures/epic_changed_assigned.json
Normal file
76
zerver/webhooks/taiga/fixtures/epic_changed_assigned.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"change":{
|
||||
"comment":"",
|
||||
"comment_html":"",
|
||||
"delete_comment_date":null,
|
||||
"comment_versions":null,
|
||||
"edit_comment_date":null,
|
||||
"diff":{
|
||||
"assigned_to":{
|
||||
"from":null,
|
||||
"to":"Eeshan Garg"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type":"epic",
|
||||
"data":{
|
||||
"watchers":[
|
||||
|
||||
],
|
||||
"description":"This Epic has details on why Zulip is awesome!",
|
||||
"color":"#729fcf",
|
||||
"custom_attributes_values":{
|
||||
|
||||
},
|
||||
"team_requirement":false,
|
||||
"project":{
|
||||
"logo_big_url":null,
|
||||
"name":"Zulip",
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip",
|
||||
"id":229096
|
||||
},
|
||||
"owner":{
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"username":"eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d",
|
||||
"photo":null
|
||||
},
|
||||
"subject":"Zulip is awesome!",
|
||||
"assigned_to":{
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"username":"eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d",
|
||||
"photo":null
|
||||
},
|
||||
"ref":5,
|
||||
"epics_order":1508641159928,
|
||||
"id":50266,
|
||||
"status":{
|
||||
"is_closed":false,
|
||||
"name":"New",
|
||||
"color":"#999999",
|
||||
"slug":"new",
|
||||
"id":1004969
|
||||
},
|
||||
"modified_date":"2017-10-22T03:30:43.440Z",
|
||||
"created_date":"2017-10-22T02:59:19.958Z",
|
||||
"tags":[
|
||||
|
||||
],
|
||||
"client_requirement":false
|
||||
},
|
||||
"date":"2017-10-22T03:30:43.553Z",
|
||||
"action":"change",
|
||||
"by":{
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"username":"eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d",
|
||||
"photo":null
|
||||
}
|
||||
}
|
||||
84
zerver/webhooks/taiga/fixtures/epic_changed_blocked.json
Normal file
84
zerver/webhooks/taiga/fixtures/epic_changed_blocked.json
Normal file
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"date":"2017-10-22T04:01:13.943Z",
|
||||
"by":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"username":"eeshangarg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"action":"change",
|
||||
"change":{
|
||||
"comment_versions":null,
|
||||
"delete_comment_date":null,
|
||||
"edit_comment_date":null,
|
||||
"diff":{
|
||||
"blocked_note_diff":{
|
||||
"from":null,
|
||||
"to":"<ins style=\"background:#e6ffe6;\">Just 'cause I can!</ins>"
|
||||
},
|
||||
"blocked_note_html":{
|
||||
"from":"",
|
||||
"to":"<p>Just 'cause I can!</p>"
|
||||
},
|
||||
"is_blocked":{
|
||||
"from":false,
|
||||
"to":true
|
||||
}
|
||||
},
|
||||
"comment_html":"",
|
||||
"comment":""
|
||||
},
|
||||
"type":"epic",
|
||||
"data":{
|
||||
"assigned_to":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/angelajohnson",
|
||||
"full_name":"Angela Johnson",
|
||||
"username":"angelajohnson",
|
||||
"id":258683,
|
||||
"gravatar_id":"36cf0dc28c5302bcd68119fcaaf4d4f3"
|
||||
},
|
||||
"description":"This Epic has details on why Zulip is awesome!",
|
||||
"custom_attributes_values":{
|
||||
|
||||
},
|
||||
"status":{
|
||||
"slug":"new",
|
||||
"id":1004969,
|
||||
"color":"#999999",
|
||||
"name":"New",
|
||||
"is_closed":false
|
||||
},
|
||||
"project":{
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip",
|
||||
"logo_big_url":null,
|
||||
"id":229096,
|
||||
"name":"Zulip"
|
||||
},
|
||||
"epics_order":1508641159928,
|
||||
"created_date":"2017-10-22T02:59:19.958Z",
|
||||
"team_requirement":false,
|
||||
"tags":[
|
||||
|
||||
],
|
||||
"id":50266,
|
||||
"subject":"Zulip is awesome!",
|
||||
"owner":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"username":"eeshangarg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"ref":5,
|
||||
"client_requirement":false,
|
||||
"modified_date":"2017-10-22T04:01:13.848Z",
|
||||
"color":"#729fcf",
|
||||
"watchers":[
|
||||
|
||||
]
|
||||
}
|
||||
}
|
||||
73
zerver/webhooks/taiga/fixtures/epic_changed_commented.json
Normal file
73
zerver/webhooks/taiga/fixtures/epic_changed_commented.json
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"date":"2017-10-22T23:57:14.011Z",
|
||||
"by":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"username":"eeshangarg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"action":"change",
|
||||
"change":{
|
||||
"comment_versions":null,
|
||||
"delete_comment_date":null,
|
||||
"edit_comment_date":null,
|
||||
"diff":{
|
||||
|
||||
},
|
||||
"comment_html":"<p>I love contributing to Zulip</p>",
|
||||
"comment":"I love contributing to Zulip"
|
||||
},
|
||||
"type":"epic",
|
||||
"data":{
|
||||
"assigned_to":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/angelajohnson",
|
||||
"full_name":"Angela Johnson",
|
||||
"username":"angelajohnson",
|
||||
"id":258683,
|
||||
"gravatar_id":"36cf0dc28c5302bcd68119fcaaf4d4f3"
|
||||
},
|
||||
"description":"This Epic has details on why Zulip is awesome! Firstly, Zulip is open source!",
|
||||
"custom_attributes_values":{
|
||||
|
||||
},
|
||||
"status":{
|
||||
"slug":"in-progress",
|
||||
"id":1004971,
|
||||
"color":"#ff9900",
|
||||
"name":"In progress",
|
||||
"is_closed":false
|
||||
},
|
||||
"project":{
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip",
|
||||
"logo_big_url":null,
|
||||
"id":229096,
|
||||
"name":"Zulip"
|
||||
},
|
||||
"epics_order":1508641159928,
|
||||
"created_date":"2017-10-22T02:59:19.958Z",
|
||||
"team_requirement":false,
|
||||
"tags":[
|
||||
|
||||
],
|
||||
"id":50266,
|
||||
"subject":"Zulip is great!",
|
||||
"owner":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"username":"eeshangarg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"ref":5,
|
||||
"client_requirement":false,
|
||||
"modified_date":"2017-10-22T23:57:13.871Z",
|
||||
"color":"#729fcf",
|
||||
"watchers":[
|
||||
258659
|
||||
]
|
||||
}
|
||||
}
|
||||
73
zerver/webhooks/taiga/fixtures/epic_changed_description.json
Normal file
73
zerver/webhooks/taiga/fixtures/epic_changed_description.json
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"change":{
|
||||
"comment":"",
|
||||
"comment_html":"",
|
||||
"delete_comment_date":null,
|
||||
"comment_versions":null,
|
||||
"edit_comment_date":null,
|
||||
"diff":{
|
||||
"description_diff":"Check the history API for the exact diff"
|
||||
}
|
||||
},
|
||||
"type":"epic",
|
||||
"data":{
|
||||
"watchers":[
|
||||
|
||||
],
|
||||
"description":"This Epic has details on why Zulip is awesome! Firstly, Zulip is open source!",
|
||||
"color":"#729fcf",
|
||||
"custom_attributes_values":{
|
||||
|
||||
},
|
||||
"team_requirement":false,
|
||||
"project":{
|
||||
"logo_big_url":null,
|
||||
"name":"Zulip",
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip",
|
||||
"id":229096
|
||||
},
|
||||
"owner":{
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"username":"eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d",
|
||||
"photo":null
|
||||
},
|
||||
"subject":"Zulip is great!",
|
||||
"assigned_to":{
|
||||
"permalink":"https://tree.taiga.io/profile/angelajohnson",
|
||||
"username":"angelajohnson",
|
||||
"full_name":"Angela Johnson",
|
||||
"id":258683,
|
||||
"gravatar_id":"36cf0dc28c5302bcd68119fcaaf4d4f3",
|
||||
"photo":null
|
||||
},
|
||||
"ref":5,
|
||||
"epics_order":1508641159928,
|
||||
"id":50266,
|
||||
"status":{
|
||||
"is_closed":false,
|
||||
"name":"In progress",
|
||||
"color":"#ff9900",
|
||||
"slug":"in-progress",
|
||||
"id":1004971
|
||||
},
|
||||
"modified_date":"2017-10-22T23:51:02.968Z",
|
||||
"created_date":"2017-10-22T02:59:19.958Z",
|
||||
"tags":[
|
||||
|
||||
],
|
||||
"client_requirement":false
|
||||
},
|
||||
"date":"2017-10-22T23:51:03.067Z",
|
||||
"action":"change",
|
||||
"by":{
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"username":"eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d",
|
||||
"photo":null
|
||||
}
|
||||
}
|
||||
76
zerver/webhooks/taiga/fixtures/epic_changed_reassigned.json
Normal file
76
zerver/webhooks/taiga/fixtures/epic_changed_reassigned.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"date":"2017-10-22T03:54:15.829Z",
|
||||
"by":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"username":"eeshangarg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"action":"change",
|
||||
"change":{
|
||||
"comment_versions":null,
|
||||
"delete_comment_date":null,
|
||||
"edit_comment_date":null,
|
||||
"diff":{
|
||||
"assigned_to":{
|
||||
"from":"Eeshan Garg",
|
||||
"to":"Angela Johnson"
|
||||
}
|
||||
},
|
||||
"comment_html":"",
|
||||
"comment":""
|
||||
},
|
||||
"type":"epic",
|
||||
"data":{
|
||||
"assigned_to":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/angelajohnson",
|
||||
"full_name":"Angela Johnson",
|
||||
"username":"angelajohnson",
|
||||
"id":258683,
|
||||
"gravatar_id":"36cf0dc28c5302bcd68119fcaaf4d4f3"
|
||||
},
|
||||
"description":"This Epic has details on why Zulip is awesome!",
|
||||
"custom_attributes_values":{
|
||||
|
||||
},
|
||||
"status":{
|
||||
"slug":"new",
|
||||
"id":1004969,
|
||||
"color":"#999999",
|
||||
"name":"New",
|
||||
"is_closed":false
|
||||
},
|
||||
"project":{
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip",
|
||||
"logo_big_url":null,
|
||||
"id":229096,
|
||||
"name":"Zulip"
|
||||
},
|
||||
"epics_order":1508641159928,
|
||||
"created_date":"2017-10-22T02:59:19.958Z",
|
||||
"team_requirement":false,
|
||||
"tags":[
|
||||
|
||||
],
|
||||
"id":50266,
|
||||
"subject":"Zulip is awesome!",
|
||||
"owner":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"username":"eeshangarg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"ref":5,
|
||||
"client_requirement":false,
|
||||
"modified_date":"2017-10-22T03:54:15.748Z",
|
||||
"color":"#729fcf",
|
||||
"watchers":[
|
||||
|
||||
]
|
||||
}
|
||||
}
|
||||
76
zerver/webhooks/taiga/fixtures/epic_changed_renamed.json
Normal file
76
zerver/webhooks/taiga/fixtures/epic_changed_renamed.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"change":{
|
||||
"comment":"",
|
||||
"comment_html":"",
|
||||
"delete_comment_date":null,
|
||||
"comment_versions":null,
|
||||
"edit_comment_date":null,
|
||||
"diff":{
|
||||
"subject":{
|
||||
"from":"Zulip is awesome!",
|
||||
"to":"Zulip is great!"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type":"epic",
|
||||
"data":{
|
||||
"watchers":[
|
||||
|
||||
],
|
||||
"description":"This Epic has details on why Zulip is awesome!",
|
||||
"color":"#729fcf",
|
||||
"custom_attributes_values":{
|
||||
|
||||
},
|
||||
"team_requirement":false,
|
||||
"project":{
|
||||
"logo_big_url":null,
|
||||
"name":"Zulip",
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip",
|
||||
"id":229096
|
||||
},
|
||||
"owner":{
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"username":"eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d",
|
||||
"photo":null
|
||||
},
|
||||
"subject":"Zulip is great!",
|
||||
"assigned_to":{
|
||||
"permalink":"https://tree.taiga.io/profile/angelajohnson",
|
||||
"username":"angelajohnson",
|
||||
"full_name":"Angela Johnson",
|
||||
"id":258683,
|
||||
"gravatar_id":"36cf0dc28c5302bcd68119fcaaf4d4f3",
|
||||
"photo":null
|
||||
},
|
||||
"ref":5,
|
||||
"epics_order":1508641159928,
|
||||
"id":50266,
|
||||
"status":{
|
||||
"is_closed":false,
|
||||
"name":"In progress",
|
||||
"color":"#ff9900",
|
||||
"slug":"in-progress",
|
||||
"id":1004971
|
||||
},
|
||||
"modified_date":"2017-10-22T23:46:22.779Z",
|
||||
"created_date":"2017-10-22T02:59:19.958Z",
|
||||
"tags":[
|
||||
|
||||
],
|
||||
"client_requirement":false
|
||||
},
|
||||
"date":"2017-10-22T23:46:22.859Z",
|
||||
"action":"change",
|
||||
"by":{
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"username":"eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d",
|
||||
"photo":null
|
||||
}
|
||||
}
|
||||
76
zerver/webhooks/taiga/fixtures/epic_changed_status.json
Normal file
76
zerver/webhooks/taiga/fixtures/epic_changed_status.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"change":{
|
||||
"comment":"",
|
||||
"comment_html":"",
|
||||
"delete_comment_date":null,
|
||||
"comment_versions":null,
|
||||
"edit_comment_date":null,
|
||||
"diff":{
|
||||
"status":{
|
||||
"from":"New",
|
||||
"to":"In progress"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type":"epic",
|
||||
"data":{
|
||||
"watchers":[
|
||||
|
||||
],
|
||||
"description":"This Epic has details on why Zulip is awesome!",
|
||||
"color":"#729fcf",
|
||||
"custom_attributes_values":{
|
||||
|
||||
},
|
||||
"team_requirement":false,
|
||||
"project":{
|
||||
"logo_big_url":null,
|
||||
"name":"Zulip",
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip",
|
||||
"id":229096
|
||||
},
|
||||
"owner":{
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"username":"eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d",
|
||||
"photo":null
|
||||
},
|
||||
"subject":"Zulip is awesome!",
|
||||
"assigned_to":{
|
||||
"permalink":"https://tree.taiga.io/profile/angelajohnson",
|
||||
"username":"angelajohnson",
|
||||
"full_name":"Angela Johnson",
|
||||
"id":258683,
|
||||
"gravatar_id":"36cf0dc28c5302bcd68119fcaaf4d4f3",
|
||||
"photo":null
|
||||
},
|
||||
"ref":5,
|
||||
"epics_order":1508641159928,
|
||||
"id":50266,
|
||||
"status":{
|
||||
"is_closed":false,
|
||||
"name":"In progress",
|
||||
"color":"#ff9900",
|
||||
"slug":"in-progress",
|
||||
"id":1004971
|
||||
},
|
||||
"modified_date":"2017-10-22T23:22:42.512Z",
|
||||
"created_date":"2017-10-22T02:59:19.958Z",
|
||||
"tags":[
|
||||
|
||||
],
|
||||
"client_requirement":false
|
||||
},
|
||||
"date":"2017-10-22T23:22:42.602Z",
|
||||
"action":"change",
|
||||
"by":{
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"username":"eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d",
|
||||
"photo":null
|
||||
}
|
||||
}
|
||||
69
zerver/webhooks/taiga/fixtures/epic_changed_unassigned.json
Normal file
69
zerver/webhooks/taiga/fixtures/epic_changed_unassigned.json
Normal file
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"date":"2017-10-22T03:37:36.566Z",
|
||||
"by":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"username":"eeshangarg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"action":"change",
|
||||
"change":{
|
||||
"comment_versions":null,
|
||||
"delete_comment_date":null,
|
||||
"edit_comment_date":null,
|
||||
"diff":{
|
||||
"assigned_to":{
|
||||
"from":"Eeshan Garg",
|
||||
"to":null
|
||||
}
|
||||
},
|
||||
"comment_html":"",
|
||||
"comment":""
|
||||
},
|
||||
"type":"epic",
|
||||
"data":{
|
||||
"assigned_to":null,
|
||||
"description":"This Epic has details on why Zulip is awesome!",
|
||||
"custom_attributes_values":{
|
||||
|
||||
},
|
||||
"status":{
|
||||
"slug":"new",
|
||||
"id":1004969,
|
||||
"color":"#999999",
|
||||
"name":"New",
|
||||
"is_closed":false
|
||||
},
|
||||
"project":{
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip",
|
||||
"logo_big_url":null,
|
||||
"id":229096,
|
||||
"name":"Zulip"
|
||||
},
|
||||
"epics_order":1508641159928,
|
||||
"created_date":"2017-10-22T02:59:19.958Z",
|
||||
"team_requirement":false,
|
||||
"tags":[
|
||||
|
||||
],
|
||||
"id":50266,
|
||||
"subject":"Zulip is awesome!",
|
||||
"owner":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"username":"eeshangarg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"ref":5,
|
||||
"client_requirement":false,
|
||||
"modified_date":"2017-10-22T03:37:36.472Z",
|
||||
"color":"#729fcf",
|
||||
"watchers":[
|
||||
|
||||
]
|
||||
}
|
||||
}
|
||||
84
zerver/webhooks/taiga/fixtures/epic_changed_unblocked.json
Normal file
84
zerver/webhooks/taiga/fixtures/epic_changed_unblocked.json
Normal file
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"date":"2017-10-22T04:06:42.244Z",
|
||||
"by":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"username":"eeshangarg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"action":"change",
|
||||
"change":{
|
||||
"comment_versions":null,
|
||||
"delete_comment_date":null,
|
||||
"edit_comment_date":null,
|
||||
"diff":{
|
||||
"blocked_note_diff":{
|
||||
"from":null,
|
||||
"to":"<del style=\"background:#ffe6e6;\">Just 'cause I can!</del>"
|
||||
},
|
||||
"blocked_note_html":{
|
||||
"from":"<p>Just 'cause I can!</p>",
|
||||
"to":""
|
||||
},
|
||||
"is_blocked":{
|
||||
"from":true,
|
||||
"to":false
|
||||
}
|
||||
},
|
||||
"comment_html":"",
|
||||
"comment":""
|
||||
},
|
||||
"type":"epic",
|
||||
"data":{
|
||||
"assigned_to":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/angelajohnson",
|
||||
"full_name":"Angela Johnson",
|
||||
"username":"angelajohnson",
|
||||
"id":258683,
|
||||
"gravatar_id":"36cf0dc28c5302bcd68119fcaaf4d4f3"
|
||||
},
|
||||
"description":"This Epic has details on why Zulip is awesome!",
|
||||
"custom_attributes_values":{
|
||||
|
||||
},
|
||||
"status":{
|
||||
"slug":"new",
|
||||
"id":1004969,
|
||||
"color":"#999999",
|
||||
"name":"New",
|
||||
"is_closed":false
|
||||
},
|
||||
"project":{
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip",
|
||||
"logo_big_url":null,
|
||||
"id":229096,
|
||||
"name":"Zulip"
|
||||
},
|
||||
"epics_order":1508641159928,
|
||||
"created_date":"2017-10-22T02:59:19.958Z",
|
||||
"team_requirement":false,
|
||||
"tags":[
|
||||
|
||||
],
|
||||
"id":50266,
|
||||
"subject":"Zulip is awesome!",
|
||||
"owner":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"username":"eeshangarg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"ref":5,
|
||||
"client_requirement":false,
|
||||
"modified_date":"2017-10-22T04:06:42.168Z",
|
||||
"color":"#729fcf",
|
||||
"watchers":[
|
||||
|
||||
]
|
||||
}
|
||||
}
|
||||
56
zerver/webhooks/taiga/fixtures/epic_created.json
Normal file
56
zerver/webhooks/taiga/fixtures/epic_created.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"date":"2017-10-22T02:59:20.117Z",
|
||||
"by":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"username":"eeshangarg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"action":"create",
|
||||
"type":"epic",
|
||||
"data":{
|
||||
"assigned_to":null,
|
||||
"description":"This Epic has details on why Zulip is awesome!",
|
||||
"custom_attributes_values":{
|
||||
|
||||
},
|
||||
"status":{
|
||||
"slug":"new",
|
||||
"id":1004969,
|
||||
"color":"#999999",
|
||||
"name":"New",
|
||||
"is_closed":false
|
||||
},
|
||||
"project":{
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip",
|
||||
"logo_big_url":null,
|
||||
"id":229096,
|
||||
"name":"Zulip"
|
||||
},
|
||||
"epics_order":1508641159928,
|
||||
"created_date":"2017-10-22T02:59:19.958Z",
|
||||
"team_requirement":false,
|
||||
"tags":[
|
||||
|
||||
],
|
||||
"id":50266,
|
||||
"subject":"Zulip is awesome!",
|
||||
"owner":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"username":"eeshangarg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"ref":5,
|
||||
"client_requirement":false,
|
||||
"modified_date":"2017-10-22T02:59:19.975Z",
|
||||
"color":"#729fcf",
|
||||
"watchers":[
|
||||
|
||||
]
|
||||
}
|
||||
}
|
||||
61
zerver/webhooks/taiga/fixtures/epic_deleted.json
Normal file
61
zerver/webhooks/taiga/fixtures/epic_deleted.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"date":"2017-10-23T00:02:01.239Z",
|
||||
"by":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"username":"eeshangarg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"action":"delete",
|
||||
"type":"epic",
|
||||
"data":{
|
||||
"assigned_to":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/angelajohnson",
|
||||
"full_name":"Angela Johnson",
|
||||
"username":"angelajohnson",
|
||||
"id":258683,
|
||||
"gravatar_id":"36cf0dc28c5302bcd68119fcaaf4d4f3"
|
||||
},
|
||||
"description":"This Epic has details on why Zulip is awesome! Firstly, Zulip is open source!",
|
||||
"custom_attributes_values":null,
|
||||
"status":{
|
||||
"slug":"in-progress",
|
||||
"id":1004971,
|
||||
"color":"#ff9900",
|
||||
"name":"In progress",
|
||||
"is_closed":false
|
||||
},
|
||||
"project":{
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip",
|
||||
"logo_big_url":null,
|
||||
"id":229096,
|
||||
"name":"Zulip"
|
||||
},
|
||||
"epics_order":1508641159928,
|
||||
"created_date":"2017-10-22T02:59:19.958Z",
|
||||
"team_requirement":false,
|
||||
"tags":[
|
||||
|
||||
],
|
||||
"id":50266,
|
||||
"subject":"Zulip is great!",
|
||||
"owner":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"username":"eeshangarg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"ref":5,
|
||||
"client_requirement":false,
|
||||
"modified_date":"2017-10-22T23:57:13.871Z",
|
||||
"color":"#729fcf",
|
||||
"watchers":[
|
||||
258659
|
||||
]
|
||||
}
|
||||
}
|
||||
86
zerver/webhooks/taiga/fixtures/issue_changed_assigned.json
Normal file
86
zerver/webhooks/taiga/fixtures/issue_changed_assigned.json
Normal file
@@ -0,0 +1,86 @@
|
||||
{
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"change": {
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"delete_comment_date": null,
|
||||
"diff": {
|
||||
"assigned_to": {
|
||||
"from": null,
|
||||
"to": "TomaszKolek"
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T19:37:05.045Z",
|
||||
"action": "change",
|
||||
"data": {
|
||||
"watchers": [
|
||||
187698
|
||||
],
|
||||
"severity": {
|
||||
"name": "Minor",
|
||||
"color": "#669933",
|
||||
"id": 849621
|
||||
},
|
||||
"ref": 8,
|
||||
"id": 511941,
|
||||
"priority": {
|
||||
"name": "Low",
|
||||
"color": "#666666",
|
||||
"id": 511599
|
||||
},
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"finished_date": null,
|
||||
"custom_attributes_values": {},
|
||||
"external_reference": null,
|
||||
"milestone": null,
|
||||
"description": "New description",
|
||||
"created_date": "2017-01-10T19:34:20.303Z",
|
||||
"modified_date": "2017-01-10T19:37:04.934Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"subject": "New issue",
|
||||
"status": {
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"color": "#5E8C6A",
|
||||
"id": 1192591,
|
||||
"is_closed": false
|
||||
},
|
||||
"type": {
|
||||
"name": "Question",
|
||||
"color": "#ba89a8",
|
||||
"id": 514254
|
||||
},
|
||||
"tags": [],
|
||||
"assigned_to": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
}
|
||||
},
|
||||
"type": "issue"
|
||||
}
|
||||
120
zerver/webhooks/taiga/fixtures/issue_changed_blocked.json
Normal file
120
zerver/webhooks/taiga/fixtures/issue_changed_blocked.json
Normal file
@@ -0,0 +1,120 @@
|
||||
{
|
||||
"action": "change",
|
||||
"type": "issue",
|
||||
"by": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"date": "2020-02-07T18:51:40.986Z",
|
||||
"data": {
|
||||
"custom_attributes_values": {},
|
||||
"id": 1311625,
|
||||
"ref": 49,
|
||||
"created_date": "2020-02-06T17:00:01.089Z",
|
||||
"modified_date": "2020-02-07T18:51:40.744Z",
|
||||
"finished_date": null,
|
||||
"due_date": "2020-03-08",
|
||||
"due_date_reason": "",
|
||||
"subject": "Issues",
|
||||
"external_reference": null,
|
||||
"watchers": [],
|
||||
"description": "Issue",
|
||||
"tags": [],
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/issue/49",
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"milestone": {
|
||||
"id": 254091,
|
||||
"name": "eres",
|
||||
"slug": "eres",
|
||||
"estimated_start": "2020-01-30",
|
||||
"estimated_finish": "2020-02-13",
|
||||
"created_date": "2020-01-29T22:33:36.885Z",
|
||||
"modified_date": "2020-01-29T22:33:36.908Z",
|
||||
"closed": false ,
|
||||
"dispoFnibility": 0.0,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/taskboard/eres",
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
}
|
||||
},
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"assigned_to": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"status": {
|
||||
"id": 2460905,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#8C2318",
|
||||
"is_closed": false
|
||||
},
|
||||
"type": {
|
||||
"id": 1060464,
|
||||
"name": "Question",
|
||||
"color": "#ba89a8"
|
||||
},
|
||||
"priority": {
|
||||
"id": 1055659,
|
||||
"name": "High",
|
||||
"color": "#CC0000"
|
||||
},
|
||||
"severity": {
|
||||
"id": 1753852,
|
||||
"name": "Minor",
|
||||
"color": "#669933"
|
||||
}
|
||||
},
|
||||
"change": {
|
||||
"comment": "",
|
||||
"comment_html": "",
|
||||
"delete_comment_date": null,
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"diff": {
|
||||
"is_blocked": {
|
||||
"from": false,
|
||||
"to": true
|
||||
},
|
||||
"blocked_note_diff": {
|
||||
"from": null,
|
||||
"to": "asd"
|
||||
},
|
||||
"blocked_note_html": {
|
||||
"from": "",
|
||||
"to": "<p>asd</p>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {},
|
||||
"comment_versions": null,
|
||||
"comment_html": "<p>New comment</p>",
|
||||
"comment": "New comment",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "issue",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"modified_date": "2017-01-10T19:35:39.626Z",
|
||||
"created_date": "2017-01-10T19:34:20.303Z",
|
||||
"milestone": null,
|
||||
"subject": "New issue",
|
||||
"custom_attributes_values": {},
|
||||
"status": {
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"is_closed": false,
|
||||
"id": 1192590,
|
||||
"color": "#8C2318"
|
||||
},
|
||||
"external_reference": null,
|
||||
"id": 511941,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"description": "New description",
|
||||
"priority": {
|
||||
"name": "Normal",
|
||||
"id": 511600,
|
||||
"color": "#669933"
|
||||
},
|
||||
"watchers": [
|
||||
187698
|
||||
],
|
||||
"finished_date": null,
|
||||
"severity": {
|
||||
"name": "Normal",
|
||||
"id": 849622,
|
||||
"color": "#0000FF"
|
||||
},
|
||||
"ref": 8,
|
||||
"type": {
|
||||
"name": "Bug",
|
||||
"id": 514253,
|
||||
"color": "#89BAB4"
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T19:35:39.748Z"
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"description_diff": "Check the history API for the exact diff"
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "issue",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"modified_date": "2017-01-10T19:35:17.612Z",
|
||||
"created_date": "2017-01-10T19:34:20.303Z",
|
||||
"milestone": null,
|
||||
"subject": "New issue",
|
||||
"custom_attributes_values": {},
|
||||
"status": {
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"is_closed": false,
|
||||
"id": 1192590,
|
||||
"color": "#8C2318"
|
||||
},
|
||||
"external_reference": null,
|
||||
"id": 511941,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"description": "New description",
|
||||
"priority": {
|
||||
"name": "Normal",
|
||||
"id": 511600,
|
||||
"color": "#669933"
|
||||
},
|
||||
"watchers": [],
|
||||
"finished_date": null,
|
||||
"severity": {
|
||||
"name": "Normal",
|
||||
"id": 849622,
|
||||
"color": "#0000FF"
|
||||
},
|
||||
"ref": 8,
|
||||
"type": {
|
||||
"name": "Bug",
|
||||
"id": 514253,
|
||||
"color": "#89BAB4"
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T19:35:17.733Z"
|
||||
}
|
||||
112
zerver/webhooks/taiga/fixtures/issue_changed_due_date.json
Normal file
112
zerver/webhooks/taiga/fixtures/issue_changed_due_date.json
Normal file
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"action": "change",
|
||||
"type": "issue",
|
||||
"by": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"date": "2020-02-07T18:51:54.846Z",
|
||||
"data": {
|
||||
"custom_attributes_values": {},
|
||||
"id": 1311625,
|
||||
"ref": 49,
|
||||
"created_date": "2020-02-06T17:00:01.089Z",
|
||||
"modified_date": "2020-02-07T18:51:54.729Z",
|
||||
"finished_date": null,
|
||||
"due_date": "2020-02-22",
|
||||
"due_date_reason": "",
|
||||
"subject": "Issues",
|
||||
"external_reference": null,
|
||||
"watchers": [],
|
||||
"description": "Issue",
|
||||
"tags": [],
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/issue/49",
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"milestone": {
|
||||
"id": 254091,
|
||||
"name": "eres",
|
||||
"slug": "eres",
|
||||
"estimated_start": "2020-01-30",
|
||||
"estimated_finish": "2020-02-13",
|
||||
"created_date": "2020-01-29T22:33:36.885Z",
|
||||
"modified_date": "2020-01-29T22:33:36.908Z",
|
||||
"closed": false,
|
||||
"disponibility": 0.0,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/taskboard/eres",
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
}
|
||||
},
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"assigned_to": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"status": {
|
||||
"id": 2460905,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#8C2318",
|
||||
"is_closed": false
|
||||
},
|
||||
"type": {
|
||||
"id": 1060464,
|
||||
"name": "Question",
|
||||
"color": "#ba89a8"
|
||||
},
|
||||
"priority": {
|
||||
"id": 1055659,
|
||||
"name": "High",
|
||||
"color": "#CC0000"
|
||||
},
|
||||
"severity": {
|
||||
"id": 1753852,
|
||||
"name": "Minor",
|
||||
"color": "#669933"
|
||||
}
|
||||
},
|
||||
"change": {
|
||||
"comment": "",
|
||||
"comment_html": "",
|
||||
"delete_comment_date": null,
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"diff": {
|
||||
"due_date": {
|
||||
"from": "2020-03-08",
|
||||
"to": "2020-02-22"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"action": "change",
|
||||
"type": "issue",
|
||||
"by": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"date": "2020-02-07T19:28:03.115Z",
|
||||
"data": {
|
||||
"custom_attributes_values": {},
|
||||
"id": 1312074,
|
||||
"ref": 53,
|
||||
"created_date": "2020-02-07T19:12:17.220Z",
|
||||
"modified_date": "2020-02-07T19:28:02.990Z",
|
||||
"finished_date": null,
|
||||
"due_date": "2020-02-22",
|
||||
"due_date_reason": "asd",
|
||||
"subject": "Nice Issue",
|
||||
"external_reference": null,
|
||||
"watchers": [],
|
||||
"description": "asdasd",
|
||||
"tags": [],
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/issue/53",
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"milestone": null,
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"assigned_to": null,
|
||||
"status": {
|
||||
"id": 2460905,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#8C2318",
|
||||
"is_closed": false
|
||||
},
|
||||
"type": {
|
||||
"id": 1060463,
|
||||
"name": "Bug",
|
||||
"color": "#89BAB4"
|
||||
},
|
||||
"priority": {
|
||||
"id": 1055658,
|
||||
"name": "Normal",
|
||||
"color": "#669933"
|
||||
},
|
||||
"severity": {
|
||||
"id": 1753853,
|
||||
"name": "Normal",
|
||||
"color": "#0000FF"
|
||||
}
|
||||
},
|
||||
"change": {
|
||||
"comment": "",
|
||||
"comment_html": "",
|
||||
"delete_comment_date": null,
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"diff": {
|
||||
"due_date": {
|
||||
"from": null,
|
||||
"to": "2020-02-22"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
105
zerver/webhooks/taiga/fixtures/issue_changed_new_sprint.json
Normal file
105
zerver/webhooks/taiga/fixtures/issue_changed_new_sprint.json
Normal file
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"action": "change",
|
||||
"type": "issue",
|
||||
"by": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"date": "2020-02-07T19:12:28.768Z",
|
||||
"data": {
|
||||
"custom_attributes_values": {},
|
||||
"id": 1312074,
|
||||
"ref": 53,
|
||||
"created_date": "2020-02-07T19:12:17.220Z",
|
||||
"modified_date": "2020-02-07T19:12:28.627Z",
|
||||
"finished_date": null,
|
||||
"due_date": null,
|
||||
"due_date_reason": "",
|
||||
"subject": "Nice Issue",
|
||||
"external_reference": null,
|
||||
"watchers": [],
|
||||
"description": "asdasd",
|
||||
"tags": [],
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/issue/53",
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"milestone": {
|
||||
"id": 254091,
|
||||
"name": "eres",
|
||||
"slug": "eres",
|
||||
"estimated_start": "2020-01-30",
|
||||
"estimated_finish": "2020-02-13",
|
||||
"created_date": "2020-01-29T22:33:36.885Z",
|
||||
"modified_date": "2020-01-29T22:33:36.908Z",
|
||||
"closed": false,
|
||||
"disponibility": 0.0,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/taskboard/eres",
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
}
|
||||
},
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"assigned_to": null,
|
||||
"status": {
|
||||
"id": 2460905,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#8C2318",
|
||||
"is_closed": false
|
||||
},
|
||||
"type": {
|
||||
"id": 1060463,
|
||||
"name": "Bug",
|
||||
"color": "#89BAB4"
|
||||
},
|
||||
"priority": {
|
||||
"id": 1055658,
|
||||
"name": "Normal",
|
||||
"color": "#669933"
|
||||
},
|
||||
"severity": {
|
||||
"id": 1753853,
|
||||
"name": "Normal",
|
||||
"color": "#0000FF"
|
||||
}
|
||||
},
|
||||
"change": {
|
||||
"comment": "",
|
||||
"comment_html": "",
|
||||
"delete_comment_date": null,
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"diff": {
|
||||
"milestone": {
|
||||
"from": null,
|
||||
"to": "eres"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
79
zerver/webhooks/taiga/fixtures/issue_changed_priority.json
Normal file
79
zerver/webhooks/taiga/fixtures/issue_changed_priority.json
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"change": {
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"delete_comment_date": null,
|
||||
"diff": {
|
||||
"priority": {
|
||||
"from": "Normal",
|
||||
"to": "Low"
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T19:36:27.931Z",
|
||||
"action": "change",
|
||||
"data": {
|
||||
"watchers": [
|
||||
187698
|
||||
],
|
||||
"severity": {
|
||||
"name": "Minor",
|
||||
"color": "#669933",
|
||||
"id": 849621
|
||||
},
|
||||
"ref": 8,
|
||||
"id": 511941,
|
||||
"priority": {
|
||||
"name": "Low",
|
||||
"color": "#666666",
|
||||
"id": 511599
|
||||
},
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"finished_date": null,
|
||||
"custom_attributes_values": {},
|
||||
"external_reference": null,
|
||||
"milestone": null,
|
||||
"description": "New description",
|
||||
"created_date": "2017-01-10T19:34:20.303Z",
|
||||
"modified_date": "2017-01-10T19:36:27.813Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"subject": "New issue",
|
||||
"status": {
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#8C2318",
|
||||
"id": 1192590,
|
||||
"is_closed": false
|
||||
},
|
||||
"type": {
|
||||
"name": "Question",
|
||||
"color": "#ba89a8",
|
||||
"id": 514254
|
||||
},
|
||||
"tags": [],
|
||||
"assigned_to": null
|
||||
},
|
||||
"type": "issue"
|
||||
}
|
||||
79
zerver/webhooks/taiga/fixtures/issue_changed_reassigned.json
Normal file
79
zerver/webhooks/taiga/fixtures/issue_changed_reassigned.json
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"assigned_to": {
|
||||
"to": "HanSolo",
|
||||
"from": "TomaszKolek"
|
||||
}
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "issue",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"modified_date": "2017-01-10T19:37:19.525Z",
|
||||
"created_date": "2017-01-10T19:34:20.303Z",
|
||||
"milestone": null,
|
||||
"subject": "New issue",
|
||||
"custom_attributes_values": {},
|
||||
"status": {
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"is_closed": false,
|
||||
"id": 1192591,
|
||||
"color": "#5E8C6A"
|
||||
},
|
||||
"external_reference": null,
|
||||
"id": 511941,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"description": "New description",
|
||||
"priority": {
|
||||
"name": "Low",
|
||||
"id": 511599,
|
||||
"color": "#666666"
|
||||
},
|
||||
"watchers": [
|
||||
187698
|
||||
],
|
||||
"finished_date": null,
|
||||
"severity": {
|
||||
"name": "Minor",
|
||||
"id": 849621,
|
||||
"color": "#669933"
|
||||
},
|
||||
"ref": 8,
|
||||
"type": {
|
||||
"name": "Question",
|
||||
"id": 514254,
|
||||
"color": "#ba89a8"
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T19:37:19.641Z"
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"action": "change",
|
||||
"type": "issue",
|
||||
"by": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"date": "2020-02-07T19:22:46.455Z",
|
||||
"data": {
|
||||
"custom_attributes_values": {},
|
||||
"id": 1312074,
|
||||
"ref": 53,
|
||||
"created_date": "2020-02-07T19:12:17.220Z",
|
||||
"modified_date": "2020-02-07T19:22:46.298Z",
|
||||
"finished_date": null,
|
||||
"due_date": null,
|
||||
"due_date_reason": "",
|
||||
"subject": "Nice Issue",
|
||||
"external_reference": null,
|
||||
"watchers": [],
|
||||
"description": "asdasd",
|
||||
"tags": [],
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/issue/53",
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"milestone": null,
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"assigned_to": null,
|
||||
"status": {
|
||||
"id": 2460905,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#8C2318",
|
||||
"is_closed": false
|
||||
},
|
||||
"type": {
|
||||
"id": 1060463,
|
||||
"name": "Bug",
|
||||
"color": "#89BAB4"
|
||||
},
|
||||
"priority": {
|
||||
"id": 1055658,
|
||||
"name": "Normal",
|
||||
"color": "#669933"
|
||||
},
|
||||
"severity": {
|
||||
"id": 1753853,
|
||||
"name": "Normal",
|
||||
"color": "#0000FF"
|
||||
}
|
||||
},
|
||||
"change": {
|
||||
"comment": "",
|
||||
"comment_html": "",
|
||||
"delete_comment_date": null,
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"diff": {
|
||||
"milestone": {
|
||||
"from": "eres",
|
||||
"to": null
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
79
zerver/webhooks/taiga/fixtures/issue_changed_severity.json
Normal file
79
zerver/webhooks/taiga/fixtures/issue_changed_severity.json
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"change": {
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"delete_comment_date": null,
|
||||
"diff": {
|
||||
"severity": {
|
||||
"from": "Normal",
|
||||
"to": "Minor"
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T19:36:16.215Z",
|
||||
"action": "change",
|
||||
"data": {
|
||||
"watchers": [
|
||||
187698
|
||||
],
|
||||
"severity": {
|
||||
"name": "Minor",
|
||||
"color": "#669933",
|
||||
"id": 849621
|
||||
},
|
||||
"ref": 8,
|
||||
"id": 511941,
|
||||
"priority": {
|
||||
"name": "Normal",
|
||||
"color": "#669933",
|
||||
"id": 511600
|
||||
},
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"finished_date": null,
|
||||
"custom_attributes_values": {},
|
||||
"external_reference": null,
|
||||
"milestone": null,
|
||||
"description": "New description",
|
||||
"created_date": "2017-01-10T19:34:20.303Z",
|
||||
"modified_date": "2017-01-10T19:36:16.121Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"subject": "New issue",
|
||||
"status": {
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#8C2318",
|
||||
"id": 1192590,
|
||||
"is_closed": false
|
||||
},
|
||||
"type": {
|
||||
"name": "Question",
|
||||
"color": "#ba89a8",
|
||||
"id": 514254
|
||||
},
|
||||
"tags": [],
|
||||
"assigned_to": null
|
||||
},
|
||||
"type": "issue"
|
||||
}
|
||||
79
zerver/webhooks/taiga/fixtures/issue_changed_status.json
Normal file
79
zerver/webhooks/taiga/fixtures/issue_changed_status.json
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"status": {
|
||||
"to": "In progress",
|
||||
"from": "New"
|
||||
}
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "issue",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"modified_date": "2017-01-10T19:36:47.041Z",
|
||||
"created_date": "2017-01-10T19:34:20.303Z",
|
||||
"milestone": null,
|
||||
"subject": "New issue",
|
||||
"custom_attributes_values": {},
|
||||
"status": {
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"is_closed": false,
|
||||
"id": 1192591,
|
||||
"color": "#5E8C6A"
|
||||
},
|
||||
"external_reference": null,
|
||||
"id": 511941,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"description": "New description",
|
||||
"priority": {
|
||||
"name": "Low",
|
||||
"id": 511599,
|
||||
"color": "#666666"
|
||||
},
|
||||
"watchers": [
|
||||
187698
|
||||
],
|
||||
"finished_date": null,
|
||||
"severity": {
|
||||
"name": "Minor",
|
||||
"id": 849621,
|
||||
"color": "#669933"
|
||||
},
|
||||
"ref": 8,
|
||||
"type": {
|
||||
"name": "Question",
|
||||
"id": 514254,
|
||||
"color": "#ba89a8"
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T19:36:47.160Z"
|
||||
}
|
||||
77
zerver/webhooks/taiga/fixtures/issue_changed_subject.json
Normal file
77
zerver/webhooks/taiga/fixtures/issue_changed_subject.json
Normal file
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"subject": {
|
||||
"to": "New issueNewSubject",
|
||||
"from": "New issue"
|
||||
}
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "issue",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"modified_date": "2017-01-10T19:34:55.946Z",
|
||||
"created_date": "2017-01-10T19:34:20.303Z",
|
||||
"milestone": null,
|
||||
"subject": "New issueNewSubject",
|
||||
"custom_attributes_values": {},
|
||||
"status": {
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"is_closed": false,
|
||||
"id": 1192590,
|
||||
"color": "#8C2318"
|
||||
},
|
||||
"external_reference": null,
|
||||
"id": 511941,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"description": "",
|
||||
"priority": {
|
||||
"name": "Normal",
|
||||
"id": 511600,
|
||||
"color": "#669933"
|
||||
},
|
||||
"watchers": [],
|
||||
"finished_date": null,
|
||||
"severity": {
|
||||
"name": "Normal",
|
||||
"id": 849622,
|
||||
"color": "#0000FF"
|
||||
},
|
||||
"ref": 8,
|
||||
"type": {
|
||||
"name": "Bug",
|
||||
"id": 514253,
|
||||
"color": "#89BAB4"
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T19:34:56.061Z"
|
||||
}
|
||||
79
zerver/webhooks/taiga/fixtures/issue_changed_type.json
Normal file
79
zerver/webhooks/taiga/fixtures/issue_changed_type.json
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"type": {
|
||||
"to": "Question",
|
||||
"from": "Bug"
|
||||
}
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "issue",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"modified_date": "2017-01-10T19:35:59.798Z",
|
||||
"created_date": "2017-01-10T19:34:20.303Z",
|
||||
"milestone": null,
|
||||
"subject": "New issue",
|
||||
"custom_attributes_values": {},
|
||||
"status": {
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"is_closed": false,
|
||||
"id": 1192590,
|
||||
"color": "#8C2318"
|
||||
},
|
||||
"external_reference": null,
|
||||
"id": 511941,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"description": "New description",
|
||||
"priority": {
|
||||
"name": "Normal",
|
||||
"id": 511600,
|
||||
"color": "#669933"
|
||||
},
|
||||
"watchers": [
|
||||
187698
|
||||
],
|
||||
"finished_date": null,
|
||||
"severity": {
|
||||
"name": "Normal",
|
||||
"id": 849622,
|
||||
"color": "#0000FF"
|
||||
},
|
||||
"ref": 8,
|
||||
"type": {
|
||||
"name": "Question",
|
||||
"id": 514254,
|
||||
"color": "#ba89a8"
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T19:35:59.899Z"
|
||||
}
|
||||
120
zerver/webhooks/taiga/fixtures/issue_changed_unblocked.json
Normal file
120
zerver/webhooks/taiga/fixtures/issue_changed_unblocked.json
Normal file
@@ -0,0 +1,120 @@
|
||||
{
|
||||
"action": "change",
|
||||
"type": "issue",
|
||||
"by": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"date": "2020-02-07T18:51:46.082Z",
|
||||
"data": {
|
||||
"custom_attributes_values": {},
|
||||
"id": 1311625,
|
||||
"ref": 49,
|
||||
"created_date": "2020-02-06T17:00:01.089Z",
|
||||
"modified_date": "2020-02-07T18:51:45.973Z",
|
||||
"finished_date": null,
|
||||
"due_date": "2020-03-08",
|
||||
"due_date_reason": "",
|
||||
"subject": "Issues",
|
||||
"external_reference": null,
|
||||
"watchers": [],
|
||||
"description": "Issue",
|
||||
"tags": [],
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/issue/49",
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"milestone": {
|
||||
"id": 254091,
|
||||
"name": "eres",
|
||||
"slug": "eres",
|
||||
"estimated_start": "2020-01-30",
|
||||
"estimated_finish": "2020-02-13",
|
||||
"created_date": "2020-01-29T22:33:36.885Z",
|
||||
"modified_date": "2020-01-29T22:33:36.908Z",
|
||||
"closed": false,
|
||||
"disponibility": 0.0,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/taskboard/eres",
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
}
|
||||
},
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"assigned_to": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"status": {
|
||||
"id": 2460905,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#8C2318",
|
||||
"is_closed": false
|
||||
},
|
||||
"type": {
|
||||
"id": 1060464,
|
||||
"name": "Question",
|
||||
"color": "#ba89a8"
|
||||
},
|
||||
"priority": {
|
||||
"id": 1055659,
|
||||
"name": "High",
|
||||
"color": "#CC0000"
|
||||
},
|
||||
"severity": {
|
||||
"id": 1753852,
|
||||
"name": "Minor",
|
||||
"color": "#669933"
|
||||
}
|
||||
},
|
||||
"change": {
|
||||
"comment": "",
|
||||
"comment_html": "",
|
||||
"delete_comment_date": null,
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"diff": {
|
||||
"is_blocked": {
|
||||
"from": true,
|
||||
"to": false
|
||||
},
|
||||
"blocked_note_diff": {
|
||||
"from": null,
|
||||
"to": "<del >asd</del>"
|
||||
},
|
||||
"blocked_note_html": {
|
||||
"from": "<p>asd</p>",
|
||||
"to": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
64
zerver/webhooks/taiga/fixtures/issue_created.json
Normal file
64
zerver/webhooks/taiga/fixtures/issue_created.json
Normal file
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"data": {
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"modified_date": "2017-01-10T19:34:20.341Z",
|
||||
"created_date": "2017-01-10T19:34:20.303Z",
|
||||
"milestone": null,
|
||||
"subject": "New issue",
|
||||
"custom_attributes_values": {},
|
||||
"status": {
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"is_closed": false,
|
||||
"id": 1192590,
|
||||
"color": "#8C2318"
|
||||
},
|
||||
"external_reference": null,
|
||||
"id": 511941,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"description": "",
|
||||
"priority": {
|
||||
"name": "Normal",
|
||||
"id": 511600,
|
||||
"color": "#669933"
|
||||
},
|
||||
"watchers": [],
|
||||
"finished_date": null,
|
||||
"severity": {
|
||||
"name": "Normal",
|
||||
"id": 849622,
|
||||
"color": "#0000FF"
|
||||
},
|
||||
"ref": 8,
|
||||
"type": {
|
||||
"name": "Bug",
|
||||
"id": 514253,
|
||||
"color": "#89BAB4"
|
||||
}
|
||||
},
|
||||
"action": "create",
|
||||
"type": "issue",
|
||||
"date": "2017-01-10T19:34:20.534Z",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
}
|
||||
}
|
||||
67
zerver/webhooks/taiga/fixtures/issue_created_link.json
Normal file
67
zerver/webhooks/taiga/fixtures/issue_created_link.json
Normal file
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"action": "create",
|
||||
"type": "issue",
|
||||
"by": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"date": "2020-02-06T17:00:01.314Z",
|
||||
"data": {
|
||||
"custom_attributes_values": {},
|
||||
"id": 1311625,
|
||||
"ref": 49,
|
||||
"created_date": "2020-02-06T17:00:01.089Z",
|
||||
"modified_date": "2020-02-06T17:00:01.123Z",
|
||||
"finished_date": null,
|
||||
"due_date": null,
|
||||
"due_date_reason": "",
|
||||
"subject": "Issues",
|
||||
"external_reference": null,
|
||||
"watchers": [],
|
||||
"description": "Issue",
|
||||
"tags": [],
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/issue/49",
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"milestone": null,
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"assigned_to": null,
|
||||
"status": {
|
||||
"id": 2460905,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#8C2318",
|
||||
"is_closed": false
|
||||
},
|
||||
"type": {
|
||||
"id": 1060463,
|
||||
"name": "Bug",
|
||||
"color": "#89BAB4"
|
||||
},
|
||||
"priority": {
|
||||
"id": 1055658,
|
||||
"name": "Normal",
|
||||
"color": "#669933"
|
||||
},
|
||||
"severity": {
|
||||
"id": 1753853,
|
||||
"name": "Normal",
|
||||
"color": "#0000FF"
|
||||
}
|
||||
}
|
||||
}
|
||||
66
zerver/webhooks/taiga/fixtures/issue_deleted.json
Normal file
66
zerver/webhooks/taiga/fixtures/issue_deleted.json
Normal file
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"action": "delete",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"data": {
|
||||
"watchers": [
|
||||
187698
|
||||
],
|
||||
"severity": {
|
||||
"name": "Minor",
|
||||
"color": "#669933",
|
||||
"id": 849621
|
||||
},
|
||||
"ref": 8,
|
||||
"id": 511941,
|
||||
"priority": {
|
||||
"name": "Low",
|
||||
"color": "#666666",
|
||||
"id": 511599
|
||||
},
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"finished_date": null,
|
||||
"custom_attributes_values": null,
|
||||
"external_reference": null,
|
||||
"milestone": null,
|
||||
"description": "New description",
|
||||
"created_date": "2017-01-10T19:34:20.303Z",
|
||||
"modified_date": "2017-01-10T19:37:19.525Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"subject": "New issue",
|
||||
"status": {
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"color": "#5E8C6A",
|
||||
"id": 1192591,
|
||||
"is_closed": false
|
||||
},
|
||||
"type": {
|
||||
"name": "Question",
|
||||
"color": "#ba89a8",
|
||||
"id": 514254
|
||||
},
|
||||
"tags": [],
|
||||
"assigned_to": null
|
||||
},
|
||||
"type": "issue",
|
||||
"date": "2017-01-10T19:37:43.262Z"
|
||||
}
|
||||
132
zerver/webhooks/taiga/fixtures/relateduserstory_created.json
Normal file
132
zerver/webhooks/taiga/fixtures/relateduserstory_created.json
Normal file
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"date":"2017-10-25T00:48:47.094Z",
|
||||
"by":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"username":"eeshangarg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"action":"create",
|
||||
"type":"relateduserstory",
|
||||
"data":{
|
||||
"epic":{
|
||||
"assigned_to":null,
|
||||
"description":"An epic about supporting epics!",
|
||||
"custom_attributes_values":{
|
||||
|
||||
},
|
||||
"status":{
|
||||
"slug":"new",
|
||||
"id":1004969,
|
||||
"color":"#999999",
|
||||
"name":"New",
|
||||
"is_closed":false
|
||||
},
|
||||
"project":{
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip",
|
||||
"logo_big_url":null,
|
||||
"id":229096,
|
||||
"name":"Zulip"
|
||||
},
|
||||
"epics_order":1508892504131,
|
||||
"created_date":"2017-10-25T00:48:24.157Z",
|
||||
"team_requirement":false,
|
||||
"tags":[
|
||||
|
||||
],
|
||||
"id":50717,
|
||||
"subject":"This is Epic!",
|
||||
"owner":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"username":"eeshangarg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"ref":9,
|
||||
"client_requirement":false,
|
||||
"modified_date":"2017-10-25T00:48:24.175Z",
|
||||
"color":"#888a85",
|
||||
"watchers":[
|
||||
|
||||
]
|
||||
},
|
||||
"order":1508892527009,
|
||||
"id":187087,
|
||||
"user_story":{
|
||||
"assigned_to":null,
|
||||
"custom_attributes_values":{
|
||||
|
||||
},
|
||||
"is_blocked":false,
|
||||
"status":{
|
||||
"is_archived":false,
|
||||
"color":"#999999",
|
||||
"is_closed":false,
|
||||
"slug":"new",
|
||||
"name":"New",
|
||||
"id":1364773
|
||||
},
|
||||
"project":{
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip",
|
||||
"logo_big_url":null,
|
||||
"id":229096,
|
||||
"name":"Zulip"
|
||||
},
|
||||
"finish_date":null,
|
||||
"created_date":"2017-10-25T00:42:40.254Z",
|
||||
"team_requirement":false,
|
||||
"watchers":[
|
||||
|
||||
],
|
||||
"owner":{
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"username":"eeshangarg",
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"client_requirement":false,
|
||||
"modified_date":"2017-10-25T00:42:40.255Z",
|
||||
"tribe_gig":null,
|
||||
"generated_from_issue":null,
|
||||
"description":"",
|
||||
"points":[
|
||||
{
|
||||
"value":null,
|
||||
"role":"UX",
|
||||
"name":"?"
|
||||
},
|
||||
{
|
||||
"value":null,
|
||||
"role":"Design",
|
||||
"name":"?"
|
||||
},
|
||||
{
|
||||
"value":null,
|
||||
"role":"Front",
|
||||
"name":"?"
|
||||
},
|
||||
{
|
||||
"value":null,
|
||||
"role":"Back",
|
||||
"name":"?"
|
||||
}
|
||||
],
|
||||
"is_closed":false,
|
||||
"external_reference":null,
|
||||
"blocked_note":"",
|
||||
"subject":"A related user story",
|
||||
"tags":[
|
||||
|
||||
],
|
||||
"ref":8,
|
||||
"milestone":null,
|
||||
"id":1825616
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
{
|
||||
"action": "create",
|
||||
"type": "relateduserstory",
|
||||
"by": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"date": "2020-02-07T20:07:37.791Z",
|
||||
"data": {
|
||||
"id": 513543,
|
||||
"user_story": {
|
||||
"custom_attributes_values": {},
|
||||
"id": 3133511,
|
||||
"ref": 54,
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"is_closed": false,
|
||||
"created_date": "2020-02-07T19:33:07.473Z",
|
||||
"modified_date": "2020-02-07T19:49:10.782Z",
|
||||
"finish_date": null,
|
||||
"due_date": null,
|
||||
"due_date_reason": "",
|
||||
"subject": "Nice Issue",
|
||||
"client_requirement": false,
|
||||
"team_requirement": false,
|
||||
"generated_from_issue": 1312074,
|
||||
"generated_from_task": null,
|
||||
"external_reference": null,
|
||||
"tribe_gig": null,
|
||||
"watchers": [404067],
|
||||
"is_blocked": false,
|
||||
"blocked_note": "",
|
||||
"description": "asdasd",
|
||||
"tags": ["xo", "dsa"],
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/us/54",
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"assigned_to": null,
|
||||
"assigned_users": [],
|
||||
"points": [{
|
||||
"role": "UX",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Design",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Front",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Back",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}],
|
||||
"status": {
|
||||
"id": 2107163,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#999999",
|
||||
"is_closed": false,
|
||||
"is_archived": false
|
||||
},
|
||||
"milestone": null
|
||||
},
|
||||
"epic": {
|
||||
"custom_attributes_values": {},
|
||||
"id": 121028,
|
||||
"ref": 42,
|
||||
"created_date": "2020-01-31T21:13:50.083Z",
|
||||
"modified_date": "2020-01-31T21:13:50.103Z",
|
||||
"subject": "ASAS",
|
||||
"watchers": [],
|
||||
"description": "ASDASDASDASDASD",
|
||||
"tags": [],
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/epic/42",
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"assigned_to": null,
|
||||
"status": {
|
||||
"id": 1616801,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#999999",
|
||||
"is_closed": false
|
||||
},
|
||||
"epics_order": 1580505230066,
|
||||
"color": "#3465a4",
|
||||
"client_requirement": false,
|
||||
"team_requirement": false
|
||||
},
|
||||
"order": 1581106057670
|
||||
}
|
||||
}
|
||||
132
zerver/webhooks/taiga/fixtures/relateduserstory_deleted.json
Normal file
132
zerver/webhooks/taiga/fixtures/relateduserstory_deleted.json
Normal file
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"data":{
|
||||
"id":187087,
|
||||
"user_story":{
|
||||
"description":"",
|
||||
"custom_attributes_values":{
|
||||
|
||||
},
|
||||
"id":1825616,
|
||||
"milestone":null,
|
||||
"owner":{
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"username":"eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"photo":null,
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"modified_date":"2017-10-25T00:53:02.074Z",
|
||||
"external_reference":null,
|
||||
"points":[
|
||||
{
|
||||
"value":null,
|
||||
"role":"UX",
|
||||
"name":"?"
|
||||
},
|
||||
{
|
||||
"value":null,
|
||||
"role":"Design",
|
||||
"name":"?"
|
||||
},
|
||||
{
|
||||
"value":null,
|
||||
"role":"Front",
|
||||
"name":"?"
|
||||
},
|
||||
{
|
||||
"value":null,
|
||||
"role":"Back",
|
||||
"name":"?"
|
||||
}
|
||||
],
|
||||
"watchers":[
|
||||
|
||||
],
|
||||
"assigned_to":null,
|
||||
"is_blocked":false,
|
||||
"ref":8,
|
||||
"subject":"A related user story, which is epic",
|
||||
"tribe_gig":null,
|
||||
"finish_date":null,
|
||||
"blocked_note":"",
|
||||
"status":{
|
||||
"is_archived":false,
|
||||
"slug":"new",
|
||||
"name":"New",
|
||||
"id":1364773,
|
||||
"is_closed":false,
|
||||
"color":"#999999"
|
||||
},
|
||||
"project":{
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip",
|
||||
"id":229096,
|
||||
"name":"Zulip",
|
||||
"logo_big_url":null
|
||||
},
|
||||
"team_requirement":false,
|
||||
"created_date":"2017-10-25T00:42:40.254Z",
|
||||
"client_requirement":false,
|
||||
"generated_from_issue":null,
|
||||
"is_closed":false,
|
||||
"tags":[
|
||||
|
||||
]
|
||||
},
|
||||
"order":1508892527009,
|
||||
"epic":{
|
||||
"description":"An epic about supporting epics!",
|
||||
"subject":"This is Epic!",
|
||||
"watchers":[
|
||||
|
||||
],
|
||||
"epics_order":1508892504131,
|
||||
"created_date":"2017-10-25T00:48:24.157Z",
|
||||
"id":50717,
|
||||
"assigned_to":null,
|
||||
"status":{
|
||||
"id":1004969,
|
||||
"is_closed":false,
|
||||
"slug":"new",
|
||||
"name":"New",
|
||||
"color":"#999999"
|
||||
},
|
||||
"color":"#888a85",
|
||||
"project":{
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip",
|
||||
"id":229096,
|
||||
"name":"Zulip",
|
||||
"logo_big_url":null
|
||||
},
|
||||
"team_requirement":false,
|
||||
"ref":9,
|
||||
"client_requirement":false,
|
||||
"custom_attributes_values":{
|
||||
|
||||
},
|
||||
"owner":{
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"username":"eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"photo":null,
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"modified_date":"2017-10-25T00:48:24.175Z",
|
||||
"tags":[
|
||||
|
||||
]
|
||||
}
|
||||
},
|
||||
"type":"relateduserstory",
|
||||
"date":"2017-10-25T00:53:52.348Z",
|
||||
"by":{
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"username":"eeshangarg",
|
||||
"full_name":"Eeshan Garg",
|
||||
"photo":null,
|
||||
"id":258659,
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d"
|
||||
},
|
||||
"action":"delete"
|
||||
}
|
||||
59
zerver/webhooks/taiga/fixtures/sprint_changed_name.json
Normal file
59
zerver/webhooks/taiga/fixtures/sprint_changed_name.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"name": {
|
||||
"to": "New name",
|
||||
"from": "New sprint"
|
||||
},
|
||||
"estimated_start": {
|
||||
"to": "2017-01-10",
|
||||
"from": "2017-01-10"
|
||||
},
|
||||
"estimated_finish": {
|
||||
"to": "2017-01-25",
|
||||
"from": "2017-01-25"
|
||||
}
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "milestone",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"modified_date": "2017-01-10T17:50:57.951Z",
|
||||
"created_date": "2017-01-10T17:48:00.325Z",
|
||||
"estimated_finish": "2017-01-25",
|
||||
"id": 112881,
|
||||
"name": "New name",
|
||||
"slug": "new-sprint-85",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"estimated_start": "2017-01-10",
|
||||
"closed": false,
|
||||
"disponibility": 0.0
|
||||
},
|
||||
"date": "2017-01-10T17:50:58.015Z"
|
||||
}
|
||||
55
zerver/webhooks/taiga/fixtures/sprint_changed_time.json
Normal file
55
zerver/webhooks/taiga/fixtures/sprint_changed_time.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"estimated_start": {
|
||||
"to": "2017-01-10",
|
||||
"from": "2017-01-10"
|
||||
},
|
||||
"estimated_finish": {
|
||||
"to": "2017-01-25",
|
||||
"from": "2017-01-24"
|
||||
}
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "milestone",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"modified_date": "2017-01-10T17:49:56.889Z",
|
||||
"created_date": "2017-01-10T17:48:00.325Z",
|
||||
"estimated_finish": "2017-01-25",
|
||||
"id": 112881,
|
||||
"name": "New sprint",
|
||||
"slug": "new-sprint-85",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"estimated_start": "2017-01-10",
|
||||
"closed": false,
|
||||
"disponibility": 0.0
|
||||
},
|
||||
"date": "2017-01-10T17:49:56.953Z"
|
||||
}
|
||||
38
zerver/webhooks/taiga/fixtures/sprint_created.json
Normal file
38
zerver/webhooks/taiga/fixtures/sprint_created.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"action": "create",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"data": {
|
||||
"name": "New sprint",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"estimated_start": "2017-01-10",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"modified_date": "2017-01-10T17:48:00.343Z",
|
||||
"estimated_finish": "2017-01-24",
|
||||
"disponibility": 0.0,
|
||||
"slug": "new-sprint-85",
|
||||
"created_date": "2017-01-10T17:48:00.325Z",
|
||||
"id": 112881,
|
||||
"closed": false
|
||||
},
|
||||
"type": "milestone",
|
||||
"date": "2017-01-10T17:48:00.640Z"
|
||||
}
|
||||
38
zerver/webhooks/taiga/fixtures/sprint_deleted.json
Normal file
38
zerver/webhooks/taiga/fixtures/sprint_deleted.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"action": "delete",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"data": {
|
||||
"name": "New name",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"estimated_start": "2017-01-10",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"modified_date": "2017-01-10T17:50:57.951Z",
|
||||
"estimated_finish": "2017-01-25",
|
||||
"disponibility": 0.0,
|
||||
"slug": "new-sprint-85",
|
||||
"created_date": "2017-01-10T17:48:00.325Z",
|
||||
"id": 112881,
|
||||
"closed": false
|
||||
},
|
||||
"type": "milestone",
|
||||
"date": "2017-01-10T17:51:21.455Z"
|
||||
}
|
||||
144
zerver/webhooks/taiga/fixtures/task_changed_assigned.json
Normal file
144
zerver/webhooks/taiga/fixtures/task_changed_assigned.json
Normal file
@@ -0,0 +1,144 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"assigned_to": {
|
||||
"to": "TomaszKolek",
|
||||
"from": null
|
||||
}
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "task",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"modified_date": "2017-01-10T19:17:01.520Z",
|
||||
"subject": "New Task",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1113810,
|
||||
"taskboard_order": 1484075646359,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"description": "New description",
|
||||
"assigned_to": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"tags": [],
|
||||
"ref": 6,
|
||||
"created_date": "2017-01-10T19:14:06.391Z",
|
||||
"milestone": null,
|
||||
"user_story": {
|
||||
"finish_date": null,
|
||||
"modified_date": "2017-01-10T19:04:34.712Z",
|
||||
"is_closed": false,
|
||||
"tribe_gig": null,
|
||||
"subject": "UserStory",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1171601,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"generated_from_issue": null,
|
||||
"team_requirement": false,
|
||||
"points": [
|
||||
{
|
||||
"name": "5",
|
||||
"value": 5.0,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"ref": 5,
|
||||
"client_requirement": false,
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"milestone": null,
|
||||
"status": {
|
||||
"is_closed": false,
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false
|
||||
},
|
||||
"is_blocked": false,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"external_reference": null,
|
||||
"description": "New description",
|
||||
"watchers": [
|
||||
187698
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"is_closed": false,
|
||||
"id": 853638,
|
||||
"color": "#ff9900"
|
||||
},
|
||||
"is_iocaine": false,
|
||||
"is_blocked": false,
|
||||
"us_order": 1484075646359,
|
||||
"finished_date": null,
|
||||
"external_reference": null,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"watchers": [
|
||||
187698
|
||||
]
|
||||
},
|
||||
"date": "2017-01-10T19:17:01.618Z"
|
||||
}
|
||||
135
zerver/webhooks/taiga/fixtures/task_changed_blocked.json
Normal file
135
zerver/webhooks/taiga/fixtures/task_changed_blocked.json
Normal file
@@ -0,0 +1,135 @@
|
||||
{
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"change": {
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"delete_comment_date": null,
|
||||
"diff": {
|
||||
"is_blocked": {
|
||||
"from": false,
|
||||
"to": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T19:14:38.855Z",
|
||||
"action": "change",
|
||||
"data": {
|
||||
"watchers": [],
|
||||
"id": 1113810,
|
||||
"finished_date": null,
|
||||
"blocked_note": "",
|
||||
"modified_date": "2017-01-10T19:14:38.749Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"is_blocked": true,
|
||||
"external_reference": null,
|
||||
"ref": 6,
|
||||
"taskboard_order": 1484075646359,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"user_story": {
|
||||
"watchers": [
|
||||
187698
|
||||
],
|
||||
"client_requirement": false,
|
||||
"id": 1171601,
|
||||
"blocked_note": "",
|
||||
"modified_date": "2017-01-10T19:04:34.712Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"is_blocked": false,
|
||||
"external_reference": null,
|
||||
"ref": 5,
|
||||
"subject": "UserStory",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"tribe_gig": null,
|
||||
"is_closed": false,
|
||||
"custom_attributes_values": {},
|
||||
"milestone": null,
|
||||
"finish_date": null,
|
||||
"team_requirement": false,
|
||||
"description": "New description",
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"points": [
|
||||
{
|
||||
"name": "5",
|
||||
"value": 5.0,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"generated_from_issue": null,
|
||||
"tags": [],
|
||||
"status": {
|
||||
"name": "In progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false,
|
||||
"slug": "in-progress",
|
||||
"is_closed": false
|
||||
},
|
||||
"assigned_to": null
|
||||
},
|
||||
"us_order": 1484075646359,
|
||||
"custom_attributes_values": {},
|
||||
"milestone": null,
|
||||
"is_iocaine": false,
|
||||
"description": "",
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"status": {
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#999999",
|
||||
"id": 853637,
|
||||
"is_closed": false
|
||||
},
|
||||
"subject": "New Task",
|
||||
"created_date": "2017-01-10T19:14:06.391Z"
|
||||
},
|
||||
"type": "task"
|
||||
}
|
||||
144
zerver/webhooks/taiga/fixtures/task_changed_blocked_link.json
Normal file
144
zerver/webhooks/taiga/fixtures/task_changed_blocked_link.json
Normal file
@@ -0,0 +1,144 @@
|
||||
{
|
||||
"action": "change",
|
||||
"type": "task",
|
||||
"by": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"date": "2020-02-08T06:48:55.064Z",
|
||||
"data": {
|
||||
"custom_attributes_values": {},
|
||||
"id": 3268157,
|
||||
"ref": 56,
|
||||
"created_date": "2020-02-08T06:45:23.305Z",
|
||||
"modified_date": "2020-02-08T06:48:54.944Z",
|
||||
"finished_date": null,
|
||||
"due_date": null,
|
||||
"due_date_reason": "",
|
||||
"subject": "nice task",
|
||||
"us_order": 1581144323286,
|
||||
"taskboard_order": 1581144323286,
|
||||
"is_iocaine": false,
|
||||
"external_reference": null,
|
||||
"watchers": [],
|
||||
"is_blocked": true,
|
||||
"blocked_note": "as",
|
||||
"description": "",
|
||||
"tags": [],
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/task/56",
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"assigned_to": null,
|
||||
"status": {
|
||||
"id": 1754937,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#999999",
|
||||
"is_closed": false
|
||||
},
|
||||
"user_story": {
|
||||
"custom_attributes_values": {},
|
||||
"id": 3133511,
|
||||
"ref": 54,
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"is_closed": false,
|
||||
"created_date": "2020-02-07T19:33:07.473Z",
|
||||
"modified_date": "2020-02-07T19:49:10.782Z",
|
||||
"finish_date": null,
|
||||
"due_date": null,
|
||||
"due_date_reason": "",
|
||||
"subject": "Nice Issue",
|
||||
"client_requirement": false,
|
||||
"team_requirement": false,
|
||||
"generated_from_issue": 1312074,
|
||||
"generated_from_task": null,
|
||||
"external_reference": null,
|
||||
"tribe_gig": null,
|
||||
"watchers": [404067],
|
||||
"is_blocked": false,
|
||||
"blocked_note": "",
|
||||
"description": "asdasd",
|
||||
"tags": ["xo", "dsa"],
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/us/54",
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"assigned_to": null,
|
||||
"assigned_users": [],
|
||||
"points": [{
|
||||
"role": "UX",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Design",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Front",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Back",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}],
|
||||
"status": {
|
||||
"id": 2107163,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#999999",
|
||||
"is_closed": false,
|
||||
"is_archived": false
|
||||
},
|
||||
"milestone": null
|
||||
},
|
||||
"milestone": null
|
||||
},
|
||||
"change": {
|
||||
"comment": "",
|
||||
"comment_html": "",
|
||||
"delete_comment_date": null,
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"diff": {
|
||||
"is_blocked": {
|
||||
"from": false,
|
||||
"to": true
|
||||
},
|
||||
"blocked_note_diff": {
|
||||
"from": null,
|
||||
"to": "<ins>as</ins>"
|
||||
},
|
||||
"blocked_note_html": {
|
||||
"from": "",
|
||||
"to": "<p>as</p>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
132
zerver/webhooks/taiga/fixtures/task_changed_comment_added.json
Normal file
132
zerver/webhooks/taiga/fixtures/task_changed_comment_added.json
Normal file
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {},
|
||||
"comment_versions": null,
|
||||
"comment_html": "<p>New comment</p>",
|
||||
"comment": "New comment",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "task",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"modified_date": "2017-01-10T19:16:13.670Z",
|
||||
"subject": "New Task",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1113810,
|
||||
"taskboard_order": 1484075646359,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"description": "New description",
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"ref": 6,
|
||||
"created_date": "2017-01-10T19:14:06.391Z",
|
||||
"milestone": null,
|
||||
"user_story": {
|
||||
"finish_date": null,
|
||||
"modified_date": "2017-01-10T19:04:34.712Z",
|
||||
"is_closed": false,
|
||||
"tribe_gig": null,
|
||||
"subject": "UserStory",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1171601,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"generated_from_issue": null,
|
||||
"team_requirement": false,
|
||||
"points": [
|
||||
{
|
||||
"name": "5",
|
||||
"value": 5.0,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"ref": 5,
|
||||
"client_requirement": false,
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"milestone": null,
|
||||
"status": {
|
||||
"is_closed": false,
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false
|
||||
},
|
||||
"is_blocked": false,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"external_reference": null,
|
||||
"description": "New description",
|
||||
"watchers": [
|
||||
187698
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"is_closed": false,
|
||||
"id": 853637,
|
||||
"color": "#999999"
|
||||
},
|
||||
"is_iocaine": false,
|
||||
"is_blocked": false,
|
||||
"us_order": 1484075646359,
|
||||
"finished_date": null,
|
||||
"external_reference": null,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"watchers": [
|
||||
187698
|
||||
]
|
||||
},
|
||||
"date": "2017-01-10T19:16:13.817Z"
|
||||
}
|
||||
132
zerver/webhooks/taiga/fixtures/task_changed_description.json
Normal file
132
zerver/webhooks/taiga/fixtures/task_changed_description.json
Normal file
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"change": {
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"delete_comment_date": null,
|
||||
"diff": {
|
||||
"description_diff": "Check the history API for the exact diff"
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T19:15:43.134Z",
|
||||
"action": "change",
|
||||
"data": {
|
||||
"watchers": [],
|
||||
"id": 1113810,
|
||||
"finished_date": null,
|
||||
"blocked_note": "",
|
||||
"modified_date": "2017-01-10T19:15:43.010Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"is_blocked": false,
|
||||
"external_reference": null,
|
||||
"ref": 6,
|
||||
"taskboard_order": 1484075646359,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"user_story": {
|
||||
"watchers": [
|
||||
187698
|
||||
],
|
||||
"client_requirement": false,
|
||||
"id": 1171601,
|
||||
"blocked_note": "",
|
||||
"modified_date": "2017-01-10T19:04:34.712Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"is_blocked": false,
|
||||
"external_reference": null,
|
||||
"ref": 5,
|
||||
"subject": "UserStory",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"tribe_gig": null,
|
||||
"is_closed": false,
|
||||
"custom_attributes_values": {},
|
||||
"milestone": null,
|
||||
"finish_date": null,
|
||||
"team_requirement": false,
|
||||
"description": "New description",
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"points": [
|
||||
{
|
||||
"name": "5",
|
||||
"value": 5.0,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"generated_from_issue": null,
|
||||
"tags": [],
|
||||
"status": {
|
||||
"name": "In progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false,
|
||||
"slug": "in-progress",
|
||||
"is_closed": false
|
||||
},
|
||||
"assigned_to": null
|
||||
},
|
||||
"us_order": 1484075646359,
|
||||
"custom_attributes_values": {},
|
||||
"milestone": null,
|
||||
"is_iocaine": false,
|
||||
"description": "New description",
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"status": {
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#999999",
|
||||
"id": 853637,
|
||||
"is_closed": false
|
||||
},
|
||||
"subject": "New Task",
|
||||
"created_date": "2017-01-10T19:14:06.391Z"
|
||||
},
|
||||
"type": "task"
|
||||
}
|
||||
136
zerver/webhooks/taiga/fixtures/task_changed_due_date.json
Normal file
136
zerver/webhooks/taiga/fixtures/task_changed_due_date.json
Normal file
@@ -0,0 +1,136 @@
|
||||
{
|
||||
"action": "change",
|
||||
"type": "task",
|
||||
"by": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"date": "2020-02-08T07:00:37.778Z",
|
||||
"data": {
|
||||
"custom_attributes_values": {},
|
||||
"id": 3268157,
|
||||
"ref": 56,
|
||||
"created_date": "2020-02-08T06:45:23.305Z",
|
||||
"modified_date": "2020-02-08T07:00:37.651Z",
|
||||
"finished_date": null,
|
||||
"due_date": "2020-02-15",
|
||||
"due_date_reason": "",
|
||||
"subject": "nice task",
|
||||
"us_order": 1581144323286,
|
||||
"taskboard_order": 1581144323286,
|
||||
"is_iocaine": false,
|
||||
"external_reference": null,
|
||||
"watchers": [],
|
||||
"is_blocked": false,
|
||||
"blocked_note": "",
|
||||
"description": "",
|
||||
"tags": [],
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/task/56",
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"assigned_to": null,
|
||||
"status": {
|
||||
"id": 1754937,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#999999",
|
||||
"is_closed": false
|
||||
},
|
||||
"user_story": {
|
||||
"custom_attributes_values": {},
|
||||
"id": 3133511,
|
||||
"ref": 54,
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"is_closed": false,
|
||||
"created_date": "2020-02-07T19:33:07.473Z",
|
||||
"modified_date": "2020-02-07T19:49:10.782Z",
|
||||
"finish_date": null,
|
||||
"due_date": null,
|
||||
"due_date_reason": "",
|
||||
"subject": "Nice Issue",
|
||||
"client_requirement": false,
|
||||
"team_requirement": false,
|
||||
"generated_from_issue": 1312074,
|
||||
"generated_from_task": null,
|
||||
"external_reference": null,
|
||||
"tribe_gig": null,
|
||||
"watchers": [404067],
|
||||
"is_blocked": false,
|
||||
"blocked_note": "",
|
||||
"description": "asdasd",
|
||||
"tags": ["xo", "dsa"],
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/us/54",
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"assigned_to": null,
|
||||
"assigned_users": [],
|
||||
"points": [{
|
||||
"role": "UX",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Design",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Front",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Back",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}],
|
||||
"status": {
|
||||
"id": 2107163,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#999999",
|
||||
"is_closed": false,
|
||||
"is_archived": false
|
||||
},
|
||||
"milestone": null
|
||||
},
|
||||
"milestone": null
|
||||
},
|
||||
"change": {
|
||||
"comment": "",
|
||||
"comment_html": "",
|
||||
"delete_comment_date": null,
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"diff": {
|
||||
"due_date": {
|
||||
"from": "2020-02-22",
|
||||
"to": "2020-02-15"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
136
zerver/webhooks/taiga/fixtures/task_changed_new_due_date.json
Normal file
136
zerver/webhooks/taiga/fixtures/task_changed_new_due_date.json
Normal file
@@ -0,0 +1,136 @@
|
||||
{
|
||||
"action": "change",
|
||||
"type": "task",
|
||||
"by": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"date": "2020-02-08T06:55:10.650Z",
|
||||
"data": {
|
||||
"custom_attributes_values": {},
|
||||
"id": 3268157,
|
||||
"ref": 56,
|
||||
"created_date": "2020-02-08T06:45:23.305Z",
|
||||
"modified_date": "2020-02-08T06:55:10.555Z",
|
||||
"finished_date": null,
|
||||
"due_date": "2020-02-22",
|
||||
"due_date_reason": "",
|
||||
"subject": "nice task",
|
||||
"us_order": 1581144323286,
|
||||
"taskboard_order": 1581144323286,
|
||||
"is_iocaine": false,
|
||||
"external_reference": null,
|
||||
"watchers": [],
|
||||
"is_blocked": false,
|
||||
"blocked_note": "",
|
||||
"description": "",
|
||||
"tags": [],
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/task/56",
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"assigned_to": null,
|
||||
"status": {
|
||||
"id": 1754937,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#999999",
|
||||
"is_closed": false
|
||||
},
|
||||
"user_story": {
|
||||
"custom_attributes_values": {},
|
||||
"id": 3133511,
|
||||
"ref": 54,
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"is_closed": false,
|
||||
"created_date": "2020-02-07T19:33:07.473Z",
|
||||
"modified_date": "2020-02-07T19:49:10.782Z",
|
||||
"finish_date": null,
|
||||
"due_date": null,
|
||||
"due_date_reason": "",
|
||||
"subject": "Nice Issue",
|
||||
"client_requirement": false,
|
||||
"team_requirement": false,
|
||||
"generated_from_issue": 1312074,
|
||||
"generated_from_task": null,
|
||||
"external_reference": null,
|
||||
"tribe_gig": null,
|
||||
"watchers": [404067],
|
||||
"is_blocked": false,
|
||||
"blocked_note": "",
|
||||
"description": "asdasd",
|
||||
"tags": ["xo", "dsa"],
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/us/54",
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"assigned_to": null,
|
||||
"assigned_users": [],
|
||||
"points": [{
|
||||
"role": "UX",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Design",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Front",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Back",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}],
|
||||
"status": {
|
||||
"id": 2107163,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#999999",
|
||||
"is_closed": false,
|
||||
"is_archived": false
|
||||
},
|
||||
"milestone": null
|
||||
},
|
||||
"milestone": null
|
||||
},
|
||||
"change": {
|
||||
"comment": "",
|
||||
"comment_html": "",
|
||||
"delete_comment_date": null,
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"diff": {
|
||||
"due_date": {
|
||||
"from": null,
|
||||
"to": "2020-02-22"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
144
zerver/webhooks/taiga/fixtures/task_changed_reassigned.json
Normal file
144
zerver/webhooks/taiga/fixtures/task_changed_reassigned.json
Normal file
@@ -0,0 +1,144 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"assigned_to": {
|
||||
"to": "TomaszKolek",
|
||||
"from": "HanSolo"
|
||||
}
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "task",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"modified_date": "2017-01-10T19:17:01.520Z",
|
||||
"subject": "New Task",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1113810,
|
||||
"taskboard_order": 1484075646359,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"description": "New description",
|
||||
"assigned_to": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"tags": [],
|
||||
"ref": 6,
|
||||
"created_date": "2017-01-10T19:14:06.391Z",
|
||||
"milestone": null,
|
||||
"user_story": {
|
||||
"finish_date": null,
|
||||
"modified_date": "2017-01-10T19:04:34.712Z",
|
||||
"is_closed": false,
|
||||
"tribe_gig": null,
|
||||
"subject": "UserStory",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1171601,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"generated_from_issue": null,
|
||||
"team_requirement": false,
|
||||
"points": [
|
||||
{
|
||||
"name": "5",
|
||||
"value": 5.0,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"ref": 5,
|
||||
"client_requirement": false,
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"milestone": null,
|
||||
"status": {
|
||||
"is_closed": false,
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false
|
||||
},
|
||||
"is_blocked": false,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"external_reference": null,
|
||||
"description": "New description",
|
||||
"watchers": [
|
||||
187698
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"is_closed": false,
|
||||
"id": 853638,
|
||||
"color": "#ff9900"
|
||||
},
|
||||
"is_iocaine": false,
|
||||
"is_blocked": false,
|
||||
"us_order": 1484075646359,
|
||||
"finished_date": null,
|
||||
"external_reference": null,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"watchers": [
|
||||
187698
|
||||
]
|
||||
},
|
||||
"date": "2017-01-10T19:17:01.618Z"
|
||||
}
|
||||
137
zerver/webhooks/taiga/fixtures/task_changed_status.json
Normal file
137
zerver/webhooks/taiga/fixtures/task_changed_status.json
Normal file
@@ -0,0 +1,137 @@
|
||||
{
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"change": {
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"delete_comment_date": null,
|
||||
"diff": {
|
||||
"status": {
|
||||
"from": "New",
|
||||
"to": "In progress"
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T19:16:35.189Z",
|
||||
"action": "change",
|
||||
"data": {
|
||||
"watchers": [
|
||||
187698
|
||||
],
|
||||
"id": 1113810,
|
||||
"finished_date": null,
|
||||
"blocked_note": "",
|
||||
"modified_date": "2017-01-10T19:16:35.036Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"is_blocked": false,
|
||||
"external_reference": null,
|
||||
"ref": 6,
|
||||
"taskboard_order": 1484075646359,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"user_story": {
|
||||
"watchers": [
|
||||
187698
|
||||
],
|
||||
"client_requirement": false,
|
||||
"id": 1171601,
|
||||
"blocked_note": "",
|
||||
"modified_date": "2017-01-10T19:04:34.712Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"is_blocked": false,
|
||||
"external_reference": null,
|
||||
"ref": 5,
|
||||
"subject": "UserStory",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"tribe_gig": null,
|
||||
"is_closed": false,
|
||||
"custom_attributes_values": {},
|
||||
"milestone": null,
|
||||
"finish_date": null,
|
||||
"team_requirement": false,
|
||||
"description": "New description",
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"points": [
|
||||
{
|
||||
"name": "5",
|
||||
"value": 5.0,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"generated_from_issue": null,
|
||||
"tags": [],
|
||||
"status": {
|
||||
"name": "In progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false,
|
||||
"slug": "in-progress",
|
||||
"is_closed": false
|
||||
},
|
||||
"assigned_to": null
|
||||
},
|
||||
"us_order": 1484075646359,
|
||||
"custom_attributes_values": {},
|
||||
"milestone": null,
|
||||
"is_iocaine": false,
|
||||
"description": "New description",
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"status": {
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"color": "#ff9900",
|
||||
"id": 853638,
|
||||
"is_closed": false
|
||||
},
|
||||
"subject": "New Task",
|
||||
"created_date": "2017-01-10T19:14:06.391Z"
|
||||
},
|
||||
"type": "task"
|
||||
}
|
||||
135
zerver/webhooks/taiga/fixtures/task_changed_subject.json
Normal file
135
zerver/webhooks/taiga/fixtures/task_changed_subject.json
Normal file
@@ -0,0 +1,135 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"subject": {
|
||||
"to": "New Task Subject",
|
||||
"from": "New Task"
|
||||
}
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "task",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"modified_date": "2017-01-10T19:15:19.535Z",
|
||||
"subject": "New Task Subject",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1113810,
|
||||
"taskboard_order": 1484075646359,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"description": "",
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"ref": 6,
|
||||
"created_date": "2017-01-10T19:14:06.391Z",
|
||||
"milestone": null,
|
||||
"user_story": {
|
||||
"finish_date": null,
|
||||
"modified_date": "2017-01-10T19:04:34.712Z",
|
||||
"is_closed": false,
|
||||
"tribe_gig": null,
|
||||
"subject": "UserStory",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1171601,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"generated_from_issue": null,
|
||||
"team_requirement": false,
|
||||
"points": [
|
||||
{
|
||||
"name": "5",
|
||||
"value": 5.0,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"ref": 5,
|
||||
"client_requirement": false,
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"milestone": null,
|
||||
"status": {
|
||||
"is_closed": false,
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false
|
||||
},
|
||||
"is_blocked": false,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"external_reference": null,
|
||||
"description": "New description",
|
||||
"watchers": [
|
||||
187698
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"is_closed": false,
|
||||
"id": 853637,
|
||||
"color": "#999999"
|
||||
},
|
||||
"is_iocaine": false,
|
||||
"is_blocked": false,
|
||||
"us_order": 1484075646359,
|
||||
"finished_date": null,
|
||||
"external_reference": null,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"watchers": []
|
||||
},
|
||||
"date": "2017-01-10T19:15:19.663Z"
|
||||
}
|
||||
135
zerver/webhooks/taiga/fixtures/task_changed_unblocked.json
Normal file
135
zerver/webhooks/taiga/fixtures/task_changed_unblocked.json
Normal file
@@ -0,0 +1,135 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"is_blocked": {
|
||||
"to": false,
|
||||
"from": true
|
||||
}
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "task",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"modified_date": "2017-01-10T19:14:54.350Z",
|
||||
"subject": "New Task",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1113810,
|
||||
"taskboard_order": 1484075646359,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"description": "",
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"ref": 6,
|
||||
"created_date": "2017-01-10T19:14:06.391Z",
|
||||
"milestone": null,
|
||||
"user_story": {
|
||||
"finish_date": null,
|
||||
"modified_date": "2017-01-10T19:04:34.712Z",
|
||||
"is_closed": false,
|
||||
"tribe_gig": null,
|
||||
"subject": "UserStory",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1171601,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"generated_from_issue": null,
|
||||
"team_requirement": false,
|
||||
"points": [
|
||||
{
|
||||
"name": "5",
|
||||
"value": 5.0,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"ref": 5,
|
||||
"client_requirement": false,
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"milestone": null,
|
||||
"status": {
|
||||
"is_closed": false,
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false
|
||||
},
|
||||
"is_blocked": false,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"external_reference": null,
|
||||
"description": "New description",
|
||||
"watchers": [
|
||||
187698
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"is_closed": false,
|
||||
"id": 853637,
|
||||
"color": "#999999"
|
||||
},
|
||||
"is_iocaine": false,
|
||||
"is_blocked": false,
|
||||
"us_order": 1484075646359,
|
||||
"finished_date": null,
|
||||
"external_reference": null,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"watchers": []
|
||||
},
|
||||
"date": "2017-01-10T19:14:54.467Z"
|
||||
}
|
||||
208
zerver/webhooks/taiga/fixtures/task_changed_user_stories.json
Normal file
208
zerver/webhooks/taiga/fixtures/task_changed_user_stories.json
Normal file
@@ -0,0 +1,208 @@
|
||||
{
|
||||
"type":"task",
|
||||
"action":"change",
|
||||
"date":"2018-10-16T18:36:27.132Z",
|
||||
"data":{
|
||||
"due_date_reason":"",
|
||||
"id":2541359,
|
||||
"blocked_note":"",
|
||||
"custom_attributes_values":{
|
||||
|
||||
},
|
||||
"tags":[
|
||||
|
||||
],
|
||||
"subject":"Get this task done",
|
||||
"watchers":[
|
||||
|
||||
],
|
||||
"external_reference":null,
|
||||
"project":{
|
||||
"id":229096,
|
||||
"name":"Zulip",
|
||||
"logo_big_url":null,
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip"
|
||||
},
|
||||
"owner":{
|
||||
"full_name":"Eeshan Garg",
|
||||
"id":258659,
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d",
|
||||
"username":"eeshangarg"
|
||||
},
|
||||
"assigned_to":null,
|
||||
"us_order":0,
|
||||
"finished_date":null,
|
||||
"modified_date":"2018-10-16T18:36:26.986Z",
|
||||
"due_date":null,
|
||||
"description":"",
|
||||
"user_story":{
|
||||
"due_date_reason":"",
|
||||
"id":1825616,
|
||||
"tribe_gig":null,
|
||||
"finish_date":null,
|
||||
"custom_attributes_values":{
|
||||
|
||||
},
|
||||
"tags":[
|
||||
|
||||
],
|
||||
"subject":"A related user story, which is epic",
|
||||
"watchers":[
|
||||
|
||||
],
|
||||
"external_reference":null,
|
||||
"owner":{
|
||||
"full_name":"Eeshan Garg",
|
||||
"id":258659,
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d",
|
||||
"username":"eeshangarg"
|
||||
},
|
||||
"assigned_to":null,
|
||||
"modified_date":"2018-10-16T18:36:10.637Z",
|
||||
"status":{
|
||||
"color":"#999999",
|
||||
"id":1364773,
|
||||
"slug":"new",
|
||||
"is_archived":false,
|
||||
"is_closed":false,
|
||||
"name":"New"
|
||||
},
|
||||
"is_closed":false,
|
||||
"is_blocked":false,
|
||||
"team_requirement":false,
|
||||
"project":{
|
||||
"id":229096,
|
||||
"name":"Zulip",
|
||||
"logo_big_url":null,
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip"
|
||||
},
|
||||
"blocked_note":"",
|
||||
"due_date":null,
|
||||
"assigned_users":[
|
||||
|
||||
],
|
||||
"description":"",
|
||||
"milestone":{
|
||||
"slug":"another-one-4",
|
||||
"closed":false,
|
||||
"project":{
|
||||
"id":229096,
|
||||
"name":"Zulip",
|
||||
"logo_big_url":null,
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip"
|
||||
},
|
||||
"estimated_start":"2018-10-25",
|
||||
"owner":{
|
||||
"full_name":"Eeshan Garg",
|
||||
"id":258659,
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d",
|
||||
"username":"eeshangarg"
|
||||
},
|
||||
"estimated_finish":"2018-11-03",
|
||||
"created_date":"2018-10-16T18:35:57.020Z",
|
||||
"modified_date":"2018-10-16T18:35:57.040Z",
|
||||
"disponibility":0.0,
|
||||
"id":206232,
|
||||
"name":"Another one"
|
||||
},
|
||||
"generated_from_issue":null,
|
||||
"client_requirement":false,
|
||||
"points":[
|
||||
{
|
||||
"role":"UX",
|
||||
"name":"?",
|
||||
"value":null
|
||||
},
|
||||
{
|
||||
"role":"Design",
|
||||
"name":"?",
|
||||
"value":null
|
||||
},
|
||||
{
|
||||
"role":"Front",
|
||||
"name":"?",
|
||||
"value":null
|
||||
},
|
||||
{
|
||||
"role":"Back",
|
||||
"name":"?",
|
||||
"value":null
|
||||
}
|
||||
],
|
||||
"ref":8,
|
||||
"created_date":"2017-10-25T00:42:40.254Z"
|
||||
},
|
||||
"taskboard_order":0,
|
||||
"is_blocked":false,
|
||||
"milestone":{
|
||||
"slug":"another-one-4",
|
||||
"closed":false,
|
||||
"project":{
|
||||
"id":229096,
|
||||
"name":"Zulip",
|
||||
"logo_big_url":null,
|
||||
"permalink":"https://tree.taiga.io/project/eeshangarg-zulip"
|
||||
},
|
||||
"estimated_start":"2018-10-25",
|
||||
"owner":{
|
||||
"full_name":"Eeshan Garg",
|
||||
"id":258659,
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d",
|
||||
"username":"eeshangarg"
|
||||
},
|
||||
"estimated_finish":"2018-11-03",
|
||||
"created_date":"2018-10-16T18:35:57.020Z",
|
||||
"modified_date":"2018-10-16T18:35:57.040Z",
|
||||
"disponibility":0.0,
|
||||
"id":206232,
|
||||
"name":"Another one"
|
||||
},
|
||||
"status":{
|
||||
"color":"#999999",
|
||||
"id":1148067,
|
||||
"name":"New",
|
||||
"slug":"new",
|
||||
"is_closed":false
|
||||
},
|
||||
"is_iocaine":false,
|
||||
"ref":10,
|
||||
"created_date":"2018-10-16T18:30:26.769Z"
|
||||
},
|
||||
"by":{
|
||||
"full_name":"Eeshan Garg",
|
||||
"id":258659,
|
||||
"photo":null,
|
||||
"permalink":"https://tree.taiga.io/profile/eeshangarg",
|
||||
"gravatar_id":"cd181af88d928dab53c55600c9f7551d",
|
||||
"username":"eeshangarg"
|
||||
},
|
||||
"change":{
|
||||
"edit_comment_date":null,
|
||||
"diff":{
|
||||
"user_story":{
|
||||
"from":"#7 Yaar ne scirra!",
|
||||
"to":"#8 A related user story, which is epic"
|
||||
},
|
||||
"milestone":{
|
||||
"from":null,
|
||||
"to":"Another one"
|
||||
},
|
||||
"taskboard_order":{
|
||||
"from":1539714626735,
|
||||
"to":0
|
||||
}
|
||||
},
|
||||
"comment_versions":null,
|
||||
"comment_html":"",
|
||||
"comment":"",
|
||||
"delete_comment_date":null
|
||||
}
|
||||
}
|
||||
122
zerver/webhooks/taiga/fixtures/task_created.json
Normal file
122
zerver/webhooks/taiga/fixtures/task_created.json
Normal file
@@ -0,0 +1,122 @@
|
||||
{
|
||||
"data": {
|
||||
"modified_date": "2017-01-10T19:14:06.419Z",
|
||||
"subject": "New Task",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1113810,
|
||||
"taskboard_order": 1484075646359,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"description": "",
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"ref": 6,
|
||||
"created_date": "2017-01-10T19:14:06.391Z",
|
||||
"milestone": null,
|
||||
"user_story": {
|
||||
"finish_date": null,
|
||||
"modified_date": "2017-01-10T19:04:34.712Z",
|
||||
"is_closed": false,
|
||||
"tribe_gig": null,
|
||||
"subject": "UserStory",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1171601,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"generated_from_issue": null,
|
||||
"team_requirement": false,
|
||||
"points": [
|
||||
{
|
||||
"name": "5",
|
||||
"value": 5.0,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"ref": 5,
|
||||
"client_requirement": false,
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"milestone": null,
|
||||
"status": {
|
||||
"is_closed": false,
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false
|
||||
},
|
||||
"is_blocked": false,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"external_reference": null,
|
||||
"description": "New description",
|
||||
"watchers": [
|
||||
187698
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"is_closed": false,
|
||||
"id": 853637,
|
||||
"color": "#999999"
|
||||
},
|
||||
"is_iocaine": false,
|
||||
"is_blocked": false,
|
||||
"us_order": 1484075646359,
|
||||
"finished_date": null,
|
||||
"external_reference": null,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"watchers": []
|
||||
},
|
||||
"action": "create",
|
||||
"type": "task",
|
||||
"date": "2017-01-10T19:14:06.655Z",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
}
|
||||
}
|
||||
124
zerver/webhooks/taiga/fixtures/task_deleted.json
Normal file
124
zerver/webhooks/taiga/fixtures/task_deleted.json
Normal file
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"action": "delete",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"data": {
|
||||
"watchers": [
|
||||
187698
|
||||
],
|
||||
"id": 1113810,
|
||||
"finished_date": null,
|
||||
"blocked_note": "",
|
||||
"modified_date": "2017-01-10T19:18:33.038Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"is_blocked": false,
|
||||
"external_reference": null,
|
||||
"ref": 6,
|
||||
"taskboard_order": 1484075646359,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"user_story": {
|
||||
"watchers": [
|
||||
187698
|
||||
],
|
||||
"client_requirement": false,
|
||||
"id": 1171601,
|
||||
"blocked_note": "",
|
||||
"modified_date": "2017-01-10T19:04:34.712Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"is_blocked": false,
|
||||
"external_reference": null,
|
||||
"ref": 5,
|
||||
"subject": "UserStory",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"tribe_gig": null,
|
||||
"is_closed": false,
|
||||
"custom_attributes_values": {},
|
||||
"milestone": null,
|
||||
"finish_date": null,
|
||||
"team_requirement": false,
|
||||
"description": "New description",
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"points": [
|
||||
{
|
||||
"name": "5",
|
||||
"value": 5.0,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"generated_from_issue": null,
|
||||
"tags": [],
|
||||
"status": {
|
||||
"name": "In progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false,
|
||||
"slug": "in-progress",
|
||||
"is_closed": false
|
||||
},
|
||||
"assigned_to": null
|
||||
},
|
||||
"us_order": 1484075646359,
|
||||
"custom_attributes_values": null,
|
||||
"milestone": null,
|
||||
"is_iocaine": false,
|
||||
"description": "New description",
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"status": {
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"color": "#ff9900",
|
||||
"id": 853638,
|
||||
"is_closed": false
|
||||
},
|
||||
"subject": "New Task",
|
||||
"created_date": "2017-01-10T19:14:06.391Z"
|
||||
},
|
||||
"type": "task",
|
||||
"date": "2017-01-10T19:20:33.820Z"
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"change": {
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"delete_comment_date": null,
|
||||
"diff": {
|
||||
"assigned_to": {
|
||||
"from": null,
|
||||
"to": "TomaszKolek"
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T18:35:04.263Z",
|
||||
"action": "change",
|
||||
"data": {
|
||||
"watchers": [],
|
||||
"client_requirement": false,
|
||||
"id": 1171601,
|
||||
"blocked_note": "",
|
||||
"modified_date": "2017-01-10T18:35:04.117Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"is_blocked": false,
|
||||
"external_reference": null,
|
||||
"ref": 5,
|
||||
"subject": "UserStory",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"tribe_gig": null,
|
||||
"is_closed": false,
|
||||
"custom_attributes_values": {},
|
||||
"milestone": null,
|
||||
"finish_date": null,
|
||||
"team_requirement": false,
|
||||
"description": "",
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"points": [
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"generated_from_issue": null,
|
||||
"tags": [],
|
||||
"status": {
|
||||
"name": "In progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false,
|
||||
"slug": "in-progress",
|
||||
"is_closed": false
|
||||
},
|
||||
"assigned_to": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
}
|
||||
},
|
||||
"type": "userstory"
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"is_blocked": {
|
||||
"to": true,
|
||||
"from": false
|
||||
}
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "userstory",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"finish_date": null,
|
||||
"modified_date": "2017-01-10T18:24:41.767Z",
|
||||
"is_closed": false,
|
||||
"tribe_gig": null,
|
||||
"subject": "UserStory",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1171601,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"generated_from_issue": null,
|
||||
"team_requirement": false,
|
||||
"points": [
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"ref": 5,
|
||||
"client_requirement": false,
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"milestone": null,
|
||||
"status": {
|
||||
"is_closed": false,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"id": 1006445,
|
||||
"color": "#999999",
|
||||
"is_archived": false
|
||||
},
|
||||
"is_blocked": true,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"external_reference": null,
|
||||
"description": "",
|
||||
"watchers": []
|
||||
},
|
||||
"date": "2017-01-10T18:24:41.909Z"
|
||||
}
|
||||
100
zerver/webhooks/taiga/fixtures/userstory_changed_closed.json
Normal file
100
zerver/webhooks/taiga/fixtures/userstory_changed_closed.json
Normal file
@@ -0,0 +1,100 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"status": {
|
||||
"to": "Done",
|
||||
"from": "New"
|
||||
},
|
||||
"finish_date": {
|
||||
"to": "2017-01-10 18:28:04.890549+00:00",
|
||||
"from": "None"
|
||||
},
|
||||
"is_closed": {
|
||||
"to": true,
|
||||
"from": false
|
||||
}
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "userstory",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"finish_date": "2017-01-10T18:28:04.890Z",
|
||||
"modified_date": "2017-01-10T18:28:04.839Z",
|
||||
"is_closed": true,
|
||||
"tribe_gig": null,
|
||||
"subject": "UserStory",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1171601,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"generated_from_issue": null,
|
||||
"team_requirement": false,
|
||||
"points": [
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"ref": 5,
|
||||
"client_requirement": false,
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"milestone": null,
|
||||
"status": {
|
||||
"is_closed": true,
|
||||
"name": "Done",
|
||||
"slug": "done",
|
||||
"id": 1006449,
|
||||
"color": "#669900",
|
||||
"is_archived": false
|
||||
},
|
||||
"is_blocked": false,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"external_reference": null,
|
||||
"description": "",
|
||||
"watchers": []
|
||||
},
|
||||
"date": "2017-01-10T18:28:05.074Z"
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {},
|
||||
"comment_versions": null,
|
||||
"comment_html": "<p>New comment</p>",
|
||||
"comment": "New comment\n",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "userstory",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"finish_date": null,
|
||||
"modified_date": "2017-01-10T18:39:56.541Z",
|
||||
"is_closed": false,
|
||||
"tribe_gig": null,
|
||||
"subject": "UserStory",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1171601,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"generated_from_issue": null,
|
||||
"team_requirement": false,
|
||||
"points": [
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"ref": 5,
|
||||
"client_requirement": false,
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"milestone": null,
|
||||
"status": {
|
||||
"is_closed": false,
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false
|
||||
},
|
||||
"is_blocked": false,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"external_reference": null,
|
||||
"description": "New description",
|
||||
"watchers": [
|
||||
187698
|
||||
]
|
||||
},
|
||||
"date": "2017-01-10T18:39:56.744Z"
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
{
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"change": {
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"delete_comment_date": null,
|
||||
"diff": {
|
||||
"description_diff": "Check the history API for the exact diff"
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T18:39:36.801Z",
|
||||
"action": "change",
|
||||
"data": {
|
||||
"watchers": [],
|
||||
"client_requirement": false,
|
||||
"id": 1171601,
|
||||
"blocked_note": "",
|
||||
"modified_date": "2017-01-10T18:39:36.609Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"is_blocked": false,
|
||||
"external_reference": null,
|
||||
"ref": 5,
|
||||
"subject": "UserStory",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"tribe_gig": null,
|
||||
"is_closed": false,
|
||||
"custom_attributes_values": {},
|
||||
"milestone": null,
|
||||
"finish_date": null,
|
||||
"team_requirement": false,
|
||||
"description": "New description",
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"points": [
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"generated_from_issue": null,
|
||||
"tags": [],
|
||||
"status": {
|
||||
"name": "In progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false,
|
||||
"slug": "in-progress",
|
||||
"is_closed": false
|
||||
},
|
||||
"assigned_to": null
|
||||
},
|
||||
"type": "userstory"
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"action": "change",
|
||||
"type": "userstory",
|
||||
"by": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"date": "2020-02-08T07:31:03.704Z",
|
||||
"data": {
|
||||
"custom_attributes_values": {},
|
||||
"id": 3133511,
|
||||
"ref": 54,
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"is_closed": false,
|
||||
"created_date": "2020-02-07T19:33:07.473Z",
|
||||
"modified_date": "2020-02-08T07:31:03.559Z",
|
||||
"finish_date": null,
|
||||
"due_date": "2020-02-22",
|
||||
"due_date_reason": "",
|
||||
"subject": "Nice Issue",
|
||||
"client_requirement": false,
|
||||
"team_requirement": false,
|
||||
"generated_from_issue": 1312074,
|
||||
"generated_from_task": null,
|
||||
"external_reference": null,
|
||||
"tribe_gig": null,
|
||||
"watchers": [404067],
|
||||
"is_blocked": false,
|
||||
"blocked_note": "",
|
||||
"description": "asdasd",
|
||||
"tags": ["xo", "dsa"],
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/us/54",
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"assigned_to": null,
|
||||
"assigned_users": [],
|
||||
"points": [{
|
||||
"role": "UX",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Design",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Front",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Back",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}],
|
||||
"status": {
|
||||
"id": 2107163,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#999999",
|
||||
"is_closed": false,
|
||||
"is_archived": false
|
||||
},
|
||||
"milestone": null
|
||||
},
|
||||
"change": {
|
||||
"comment": "",
|
||||
"comment_html": "",
|
||||
"delete_comment_date": null,
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"diff": {
|
||||
"due_date": {
|
||||
"from": "2020-02-15",
|
||||
"to": "2020-02-22"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"action": "change",
|
||||
"type": "userstory",
|
||||
"by": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"date": "2020-02-08T07:42:35.196Z",
|
||||
"data": {
|
||||
"custom_attributes_values": {},
|
||||
"id": 3133822,
|
||||
"ref": 58,
|
||||
"project": {
|
||||
"id": 351023,
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd",
|
||||
"name": "sd",
|
||||
"logo_big_url": null
|
||||
},
|
||||
"is_closed": false,
|
||||
"created_date": "2020-02-08T07:41:23.565Z",
|
||||
"modified_date": "2020-02-08T07:42:35.082Z",
|
||||
"finish_date": null,
|
||||
"due_date": "2020-02-15",
|
||||
"due_date_reason": "",
|
||||
"subject": "random",
|
||||
"client_requirement": true,
|
||||
"team_requirement": false,
|
||||
"generated_from_issue": 1312134,
|
||||
"generated_from_task": null,
|
||||
"external_reference": null,
|
||||
"tribe_gig": null,
|
||||
"watchers": [],
|
||||
"is_blocked": false,
|
||||
"blocked_note": "",
|
||||
"description": "",
|
||||
"tags": [],
|
||||
"permalink": "https://tree.taiga.io/project/orientor-sd/us/58",
|
||||
"owner": {
|
||||
"id": 404067,
|
||||
"permalink": "https://tree.taiga.io/profile/orientor",
|
||||
"username": "orientor",
|
||||
"full_name": "Aditya Verma",
|
||||
"photo": null,
|
||||
"gravatar_id": "b72a822f0f5b7cf0c159a707af5150a1"
|
||||
},
|
||||
"assigned_to": null,
|
||||
"assigned_users": [],
|
||||
"points": [{
|
||||
"role": "UX",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Design",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Front",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}, {
|
||||
"role": "Back",
|
||||
"name": "0",
|
||||
"value": 0.0
|
||||
}],
|
||||
"status": {
|
||||
"id": 2107163,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"color": "#999999",
|
||||
"is_closed": false,
|
||||
"is_archived": false
|
||||
},
|
||||
"milestone": null
|
||||
},
|
||||
"change": {
|
||||
"comment": "",
|
||||
"comment_html": "",
|
||||
"delete_comment_date": null,
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"diff": {
|
||||
"due_date": {
|
||||
"from": null,
|
||||
"to": "2020-02-15"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
122
zerver/webhooks/taiga/fixtures/userstory_changed_new_sprint.json
Normal file
122
zerver/webhooks/taiga/fixtures/userstory_changed_new_sprint.json
Normal file
@@ -0,0 +1,122 @@
|
||||
{
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"change": {
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"delete_comment_date": null,
|
||||
"diff": {
|
||||
"milestone": {
|
||||
"from": null,
|
||||
"to": "Sprint1"
|
||||
},
|
||||
"sprint_order": {
|
||||
"from": 1484072668937,
|
||||
"to": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T19:03:22.862Z",
|
||||
"action": "change",
|
||||
"data": {
|
||||
"watchers": [
|
||||
187698
|
||||
],
|
||||
"client_requirement": false,
|
||||
"id": 1171601,
|
||||
"blocked_note": "",
|
||||
"modified_date": "2017-01-10T19:03:22.655Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"is_blocked": false,
|
||||
"external_reference": null,
|
||||
"ref": 5,
|
||||
"subject": "UserStory",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"tribe_gig": null,
|
||||
"is_closed": false,
|
||||
"custom_attributes_values": {},
|
||||
"milestone": {
|
||||
"name": "Sprint1",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"estimated_start": "2017-01-10",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"modified_date": "2017-01-10T19:03:05.241Z",
|
||||
"estimated_finish": "2017-01-24",
|
||||
"disponibility": 0.0,
|
||||
"slug": "sprint1-1076",
|
||||
"created_date": "2017-01-10T19:03:05.222Z",
|
||||
"id": 112892,
|
||||
"closed": false
|
||||
},
|
||||
"finish_date": null,
|
||||
"team_requirement": false,
|
||||
"description": "New description",
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"points": [
|
||||
{
|
||||
"name": "5",
|
||||
"value": 5.0,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"generated_from_issue": null,
|
||||
"tags": [],
|
||||
"status": {
|
||||
"name": "In progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false,
|
||||
"slug": "in-progress",
|
||||
"is_closed": false
|
||||
},
|
||||
"assigned_to": null
|
||||
},
|
||||
"type": "userstory"
|
||||
}
|
||||
96
zerver/webhooks/taiga/fixtures/userstory_changed_points.json
Normal file
96
zerver/webhooks/taiga/fixtures/userstory_changed_points.json
Normal file
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"points": {
|
||||
"UX": {
|
||||
"to": "5",
|
||||
"from": "?"
|
||||
}
|
||||
}
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "userstory",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"finish_date": null,
|
||||
"modified_date": "2017-01-10T19:02:19.535Z",
|
||||
"is_closed": false,
|
||||
"tribe_gig": null,
|
||||
"subject": "UserStory",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1171601,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"generated_from_issue": null,
|
||||
"team_requirement": false,
|
||||
"points": [
|
||||
{
|
||||
"name": "5",
|
||||
"value": 5.0,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"ref": 5,
|
||||
"client_requirement": false,
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"milestone": null,
|
||||
"status": {
|
||||
"is_closed": false,
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false
|
||||
},
|
||||
"is_blocked": false,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"external_reference": null,
|
||||
"description": "New description",
|
||||
"watchers": [
|
||||
187698
|
||||
]
|
||||
},
|
||||
"date": "2017-01-10T19:02:19.731Z"
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"assigned_to": {
|
||||
"to": "HanSolo",
|
||||
"from": "TomaszKolek"
|
||||
}
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "userstory",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"finish_date": null,
|
||||
"modified_date": "2017-01-10T18:35:34.621Z",
|
||||
"is_closed": false,
|
||||
"tribe_gig": null,
|
||||
"subject": "UserStory",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1171601,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"generated_from_issue": null,
|
||||
"team_requirement": false,
|
||||
"points": [
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"ref": 5,
|
||||
"client_requirement": false,
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"milestone": null,
|
||||
"status": {
|
||||
"is_closed": false,
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false
|
||||
},
|
||||
"is_blocked": false,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"external_reference": null,
|
||||
"description": "",
|
||||
"watchers": []
|
||||
},
|
||||
"date": "2017-01-10T18:35:34.751Z"
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"backlog_order": {
|
||||
"to": 0,
|
||||
"from": 1484072668937
|
||||
},
|
||||
"milestone": {
|
||||
"to": null,
|
||||
"from": "Sprint2"
|
||||
}
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "userstory",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"finish_date": null,
|
||||
"modified_date": "2017-01-10T19:04:34.712Z",
|
||||
"is_closed": false,
|
||||
"tribe_gig": null,
|
||||
"subject": "UserStory",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1171601,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"generated_from_issue": null,
|
||||
"team_requirement": false,
|
||||
"points": [
|
||||
{
|
||||
"name": "5",
|
||||
"value": 5.0,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"ref": 5,
|
||||
"client_requirement": false,
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"milestone": null,
|
||||
"status": {
|
||||
"is_closed": false,
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false
|
||||
},
|
||||
"is_blocked": false,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"external_reference": null,
|
||||
"description": "New description",
|
||||
"watchers": [
|
||||
187698
|
||||
]
|
||||
},
|
||||
"date": "2017-01-10T19:04:34.926Z"
|
||||
}
|
||||
100
zerver/webhooks/taiga/fixtures/userstory_changed_reopened.json
Normal file
100
zerver/webhooks/taiga/fixtures/userstory_changed_reopened.json
Normal file
@@ -0,0 +1,100 @@
|
||||
{
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"change": {
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"delete_comment_date": null,
|
||||
"diff": {
|
||||
"finish_date": {
|
||||
"from": "2017-01-10 18:28:04.890549+00:00",
|
||||
"to": "None"
|
||||
},
|
||||
"status": {
|
||||
"from": "Done",
|
||||
"to": "Ready"
|
||||
},
|
||||
"is_closed": {
|
||||
"from": true,
|
||||
"to": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T18:28:24.669Z",
|
||||
"action": "change",
|
||||
"data": {
|
||||
"watchers": [],
|
||||
"client_requirement": false,
|
||||
"id": 1171601,
|
||||
"blocked_note": "",
|
||||
"modified_date": "2017-01-10T18:28:24.456Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"is_blocked": false,
|
||||
"external_reference": null,
|
||||
"ref": 5,
|
||||
"subject": "UserStory",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"tribe_gig": null,
|
||||
"is_closed": false,
|
||||
"custom_attributes_values": {},
|
||||
"milestone": null,
|
||||
"finish_date": null,
|
||||
"team_requirement": false,
|
||||
"description": "",
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"points": [
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"generated_from_issue": null,
|
||||
"tags": [],
|
||||
"status": {
|
||||
"name": "Ready",
|
||||
"id": 1006446,
|
||||
"color": "#ff8a84",
|
||||
"is_archived": false,
|
||||
"slug": "ready",
|
||||
"is_closed": false
|
||||
},
|
||||
"assigned_to": null
|
||||
},
|
||||
"type": "userstory"
|
||||
}
|
||||
118
zerver/webhooks/taiga/fixtures/userstory_changed_sprint.json
Normal file
118
zerver/webhooks/taiga/fixtures/userstory_changed_sprint.json
Normal file
@@ -0,0 +1,118 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"milestone": {
|
||||
"to": "Sprint2",
|
||||
"from": "Sprint1"
|
||||
}
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "userstory",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"finish_date": null,
|
||||
"modified_date": "2017-01-10T19:03:47.403Z",
|
||||
"is_closed": false,
|
||||
"tribe_gig": null,
|
||||
"subject": "UserStory",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1171601,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"generated_from_issue": null,
|
||||
"team_requirement": false,
|
||||
"points": [
|
||||
{
|
||||
"name": "5",
|
||||
"value": 5.0,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"ref": 5,
|
||||
"client_requirement": false,
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"milestone": {
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"modified_date": "2017-01-10T19:03:14.367Z",
|
||||
"created_date": "2017-01-10T19:03:14.349Z",
|
||||
"estimated_finish": "2017-02-07",
|
||||
"id": 112893,
|
||||
"name": "Sprint2",
|
||||
"slug": "sprint2-383",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"estimated_start": "2017-01-24",
|
||||
"closed": false,
|
||||
"disponibility": 0.0
|
||||
},
|
||||
"status": {
|
||||
"is_closed": false,
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false
|
||||
},
|
||||
"is_blocked": false,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"external_reference": null,
|
||||
"description": "New description",
|
||||
"watchers": [
|
||||
187698
|
||||
]
|
||||
},
|
||||
"date": "2017-01-10T19:03:47.584Z"
|
||||
}
|
||||
92
zerver/webhooks/taiga/fixtures/userstory_changed_status.json
Normal file
92
zerver/webhooks/taiga/fixtures/userstory_changed_status.json
Normal file
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"change": {
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"delete_comment_date": null,
|
||||
"diff": {
|
||||
"status": {
|
||||
"from": "Ready",
|
||||
"to": "In progress"
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T18:32:46.503Z",
|
||||
"action": "change",
|
||||
"data": {
|
||||
"watchers": [],
|
||||
"client_requirement": false,
|
||||
"id": 1171601,
|
||||
"blocked_note": "",
|
||||
"modified_date": "2017-01-10T18:32:46.277Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"is_blocked": false,
|
||||
"external_reference": null,
|
||||
"ref": 5,
|
||||
"subject": "UserStory",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"tribe_gig": null,
|
||||
"is_closed": false,
|
||||
"custom_attributes_values": {},
|
||||
"milestone": null,
|
||||
"finish_date": null,
|
||||
"team_requirement": false,
|
||||
"description": "",
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"points": [
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"generated_from_issue": null,
|
||||
"tags": [],
|
||||
"status": {
|
||||
"name": "In progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false,
|
||||
"slug": "in-progress",
|
||||
"is_closed": false
|
||||
},
|
||||
"assigned_to": null
|
||||
},
|
||||
"type": "userstory"
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"change": {
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"delete_comment_date": null,
|
||||
"diff": {
|
||||
"subject": {
|
||||
"from": "UserStory",
|
||||
"to": "UserStoryNewSubject"
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T18:32:10.138Z",
|
||||
"action": "change",
|
||||
"data": {
|
||||
"watchers": [],
|
||||
"client_requirement": false,
|
||||
"id": 1171601,
|
||||
"blocked_note": "",
|
||||
"modified_date": "2017-01-10T18:32:09.972Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"is_blocked": false,
|
||||
"external_reference": null,
|
||||
"ref": 5,
|
||||
"subject": "UserStoryNewSubject",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"tribe_gig": null,
|
||||
"is_closed": false,
|
||||
"custom_attributes_values": {},
|
||||
"milestone": null,
|
||||
"finish_date": null,
|
||||
"team_requirement": false,
|
||||
"description": "",
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"points": [
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"generated_from_issue": null,
|
||||
"tags": [],
|
||||
"status": {
|
||||
"name": "Ready",
|
||||
"id": 1006446,
|
||||
"color": "#ff8a84",
|
||||
"is_archived": false,
|
||||
"slug": "ready",
|
||||
"is_closed": false
|
||||
},
|
||||
"assigned_to": null
|
||||
},
|
||||
"type": "userstory"
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"change": {
|
||||
"diff": {
|
||||
"assigned_to": {
|
||||
"to": null,
|
||||
"from": "TomaszKolek"
|
||||
}
|
||||
},
|
||||
"comment_versions": null,
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"delete_comment_date": null,
|
||||
"edit_comment_date": null
|
||||
},
|
||||
"type": "userstory",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"action": "change",
|
||||
"data": {
|
||||
"finish_date": null,
|
||||
"modified_date": "2017-01-10T18:35:34.621Z",
|
||||
"is_closed": false,
|
||||
"tribe_gig": null,
|
||||
"subject": "UserStory",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1171601,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"generated_from_issue": null,
|
||||
"team_requirement": false,
|
||||
"points": [
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"ref": 5,
|
||||
"client_requirement": false,
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"milestone": null,
|
||||
"status": {
|
||||
"is_closed": false,
|
||||
"name": "In progress",
|
||||
"slug": "in-progress",
|
||||
"id": 1006447,
|
||||
"color": "#ff9900",
|
||||
"is_archived": false
|
||||
},
|
||||
"is_blocked": false,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"external_reference": null,
|
||||
"description": "",
|
||||
"watchers": []
|
||||
},
|
||||
"date": "2017-01-10T18:35:34.751Z"
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"change": {
|
||||
"comment_html": "",
|
||||
"comment": "",
|
||||
"comment_versions": null,
|
||||
"edit_comment_date": null,
|
||||
"delete_comment_date": null,
|
||||
"diff": {
|
||||
"is_blocked": {
|
||||
"from": true,
|
||||
"to": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": "2017-01-10T18:24:56.597Z",
|
||||
"action": "change",
|
||||
"data": {
|
||||
"watchers": [],
|
||||
"client_requirement": false,
|
||||
"id": 1171601,
|
||||
"blocked_note": "",
|
||||
"modified_date": "2017-01-10T18:24:56.432Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"is_blocked": false,
|
||||
"external_reference": null,
|
||||
"ref": 5,
|
||||
"subject": "UserStory",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"tribe_gig": null,
|
||||
"is_closed": false,
|
||||
"custom_attributes_values": {},
|
||||
"milestone": null,
|
||||
"finish_date": null,
|
||||
"team_requirement": false,
|
||||
"description": "",
|
||||
"created_date": "2017-01-10T18:24:28.966Z",
|
||||
"points": [
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"generated_from_issue": null,
|
||||
"tags": [],
|
||||
"status": {
|
||||
"name": "New",
|
||||
"id": 1006445,
|
||||
"color": "#999999",
|
||||
"is_archived": false,
|
||||
"slug": "new",
|
||||
"is_closed": false
|
||||
},
|
||||
"assigned_to": null
|
||||
},
|
||||
"type": "userstory"
|
||||
}
|
||||
79
zerver/webhooks/taiga/fixtures/userstory_created.json
Normal file
79
zerver/webhooks/taiga/fixtures/userstory_created.json
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"data": {
|
||||
"finish_date": null,
|
||||
"modified_date": "2017-01-10T18:20:46.852Z",
|
||||
"is_closed": false,
|
||||
"tribe_gig": null,
|
||||
"subject": "New userstory",
|
||||
"custom_attributes_values": {},
|
||||
"blocked_note": "",
|
||||
"id": 1171591,
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
},
|
||||
"generated_from_issue": null,
|
||||
"team_requirement": false,
|
||||
"points": [
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "UX"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Design"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Front"
|
||||
},
|
||||
{
|
||||
"name": "?",
|
||||
"value": null,
|
||||
"role": "Back"
|
||||
}
|
||||
],
|
||||
"ref": 4,
|
||||
"client_requirement": false,
|
||||
"assigned_to": null,
|
||||
"tags": [],
|
||||
"created_date": "2017-01-10T18:20:46.832Z",
|
||||
"milestone": null,
|
||||
"status": {
|
||||
"is_closed": false,
|
||||
"name": "New",
|
||||
"slug": "new",
|
||||
"id": 1006445,
|
||||
"color": "#999999",
|
||||
"is_archived": false
|
||||
},
|
||||
"is_blocked": false,
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol",
|
||||
"logo_big_url": null,
|
||||
"id": 170130
|
||||
},
|
||||
"external_reference": null,
|
||||
"description": "",
|
||||
"watchers": []
|
||||
},
|
||||
"action": "create",
|
||||
"type": "userstory",
|
||||
"date": "2017-01-10T18:20:47.067Z",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null,
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek"
|
||||
}
|
||||
}
|
||||
58
zerver/webhooks/taiga/fixtures/userstory_deleted.json
Normal file
58
zerver/webhooks/taiga/fixtures/userstory_deleted.json
Normal file
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"action": "delete",
|
||||
"by": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"data": {
|
||||
"watchers": [],
|
||||
"client_requirement": false,
|
||||
"id": 1171591,
|
||||
"blocked_note": "",
|
||||
"modified_date": "2017-01-10T18:20:46.852Z",
|
||||
"owner": {
|
||||
"gravatar_id": "a2f998f1e3c224fc53cf1d595718961e",
|
||||
"id": 187698,
|
||||
"full_name": "TomaszKolek",
|
||||
"permalink": "https://tree.taiga.io/profile/kolaszek",
|
||||
"username": "kolaszek",
|
||||
"photo": null
|
||||
},
|
||||
"is_blocked": false,
|
||||
"external_reference": null,
|
||||
"ref": 4,
|
||||
"subject": "New userstory",
|
||||
"project": {
|
||||
"name": "TomKol",
|
||||
"id": 170130,
|
||||
"logo_big_url": null,
|
||||
"permalink": "https://tree.taiga.io/project/kolaszek-tomkol"
|
||||
},
|
||||
"tribe_gig": null,
|
||||
"is_closed": false,
|
||||
"custom_attributes_values": null,
|
||||
"milestone": null,
|
||||
"finish_date": null,
|
||||
"team_requirement": false,
|
||||
"description": "",
|
||||
"created_date": "2017-01-10T18:20:46.832Z",
|
||||
"points": [],
|
||||
"generated_from_issue": null,
|
||||
"tags": [],
|
||||
"status": {
|
||||
"name": "New",
|
||||
"id": 1006445,
|
||||
"color": "#999999",
|
||||
"is_archived": false,
|
||||
"slug": "new",
|
||||
"is_closed": false
|
||||
},
|
||||
"assigned_to": null
|
||||
},
|
||||
"type": "userstory",
|
||||
"date": "2017-01-10T18:21:06.056Z"
|
||||
}
|
||||
16
zerver/webhooks/taiga/fixtures/webhook_test.json
Normal file
16
zerver/webhooks/taiga/fixtures/webhook_test.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"action": "test",
|
||||
"type": "test",
|
||||
"by": {
|
||||
"id": 385680,
|
||||
"permalink": "https://tree.taiga.io/profile/kostek",
|
||||
"username": "kostek",
|
||||
"full_name": "Jan",
|
||||
"photo": null,
|
||||
"gravatar_id": "91fe35565bf6198f03688b89fdb0a19a"
|
||||
},
|
||||
"date": "2019-10-27T14:45:15.221Z",
|
||||
"data": {
|
||||
"test": "test"
|
||||
}
|
||||
}
|
||||
322
zerver/webhooks/taiga/tests.py
Normal file
322
zerver/webhooks/taiga/tests.py
Normal file
@@ -0,0 +1,322 @@
|
||||
from typing_extensions import override
|
||||
|
||||
from zerver.lib.test_classes import WebhookTestCase
|
||||
|
||||
|
||||
class TaigaHookTests(WebhookTestCase):
|
||||
TOPIC_NAME = "subject"
|
||||
|
||||
@override
|
||||
def setUp(self) -> None:
|
||||
super().setUp()
|
||||
self.url = self.build_webhook_url(topic=self.TOPIC_NAME)
|
||||
|
||||
def test_taiga_userstory_deleted(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) deleted user story **New userstory**."
|
||||
self.check_webhook("userstory_deleted", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_created(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) created user story **New userstory**."
|
||||
self.check_webhook("userstory_created", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_changed_unblocked(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) unblocked user story **UserStory**."
|
||||
self.check_webhook("userstory_changed_unblocked", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_changed_subject(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) renamed user story from UserStory to **UserStoryNewSubject**."
|
||||
self.check_webhook("userstory_changed_subject", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_changed_status(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) changed status of user story **UserStory** from Ready to In progress."
|
||||
self.check_webhook("userstory_changed_status", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_changed_reassigned(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) reassigned user story **UserStory** from TomaszKolek to HanSolo."
|
||||
self.check_webhook("userstory_changed_reassigned", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_changed_unassigned(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) unassigned user story **UserStory**."
|
||||
self.check_webhook("userstory_changed_unassigned", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_changed_points(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) changed estimation of user story **UserStory**."
|
||||
self.check_webhook("userstory_changed_points", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_changed_new_sprint(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) added user story **UserStory** to sprint Sprint1."
|
||||
self.check_webhook("userstory_changed_new_sprint", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_changed_sprint(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) changed sprint of user story **UserStory** from Sprint1 to Sprint2."
|
||||
self.check_webhook("userstory_changed_sprint", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_changed_remove_sprint(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) removed user story **UserStory** from sprint Sprint2."
|
||||
self.check_webhook("userstory_changed_remove_sprint", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_changed_description(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) updated description of user story **UserStory**."
|
||||
self.check_webhook("userstory_changed_description", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_changed_closed(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) changed status of user story **UserStory** from New to Done.\n[TomaszKolek](https://tree.taiga.io/profile/kolaszek) closed user story **UserStory**."
|
||||
self.check_webhook("userstory_changed_closed", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_changed_reopened(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) changed status of user story **UserStory** from Done to Ready.\n[TomaszKolek](https://tree.taiga.io/profile/kolaszek) reopened user story **UserStory**."
|
||||
self.check_webhook("userstory_changed_reopened", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_changed_blocked(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) blocked user story **UserStory**."
|
||||
self.check_webhook("userstory_changed_blocked", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_changed_assigned(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) assigned user story **UserStory** to TomaszKolek."
|
||||
self.check_webhook("userstory_changed_assigned", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_comment_added(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) commented on user story **UserStory**."
|
||||
self.check_webhook("userstory_changed_comment_added", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_changed_due_date(self) -> None:
|
||||
message = (
|
||||
"[Aditya Verma](https://tree.taiga.io/profile/orientor) changed due date of user story"
|
||||
" [Nice Issue](https://tree.taiga.io/project/orientor-sd/us/54) from 2020-02-15 to"
|
||||
" 2020-02-22."
|
||||
)
|
||||
self.check_webhook("userstory_changed_due_date", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_userstory_changed_new_due_date(self) -> None:
|
||||
message = "[Aditya Verma](https://tree.taiga.io/profile/orientor) set due date of user story [random](https://tree.taiga.io/project/orientor-sd/us/58) to 2020-02-15."
|
||||
self.check_webhook("userstory_changed_new_due_date", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_task_created(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) created task **New Task**."
|
||||
self.check_webhook("task_created", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_task_changed_user_stories(self) -> None:
|
||||
message = "[Eeshan Garg](https://tree.taiga.io/profile/eeshangarg) added task **Get this task done** to sprint Another one.\n[Eeshan Garg](https://tree.taiga.io/profile/eeshangarg) moved task **Get this task done** from user story #7 Yaar ne scirra! to #8 A related user story, which is epic."
|
||||
self.check_webhook("task_changed_user_stories", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_task_changed_status(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) changed status of task **New Task** from New to In progress."
|
||||
self.check_webhook("task_changed_status", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_task_changed_blocked(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) blocked task **New Task**."
|
||||
self.check_webhook("task_changed_blocked", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_task_changed_blocked_link(self) -> None:
|
||||
message = "[Aditya Verma](https://tree.taiga.io/profile/orientor) blocked task [nice task](https://tree.taiga.io/project/orientor-sd/task/56)."
|
||||
self.check_webhook("task_changed_blocked_link", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_task_changed_unblocked(self) -> None:
|
||||
message = (
|
||||
"[TomaszKolek](https://tree.taiga.io/profile/kolaszek) unblocked task **New Task**."
|
||||
)
|
||||
self.check_webhook("task_changed_unblocked", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_task_changed_assigned(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) assigned task **New Task** to TomaszKolek."
|
||||
self.check_webhook("task_changed_assigned", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_task_changed_reassigned(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) reassigned task **New Task** from HanSolo to TomaszKolek."
|
||||
self.check_webhook("task_changed_reassigned", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_task_changed_subject(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) renamed task New Task to **New Task Subject**."
|
||||
self.check_webhook("task_changed_subject", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_task_changed_description(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) updated description of task **New Task**."
|
||||
self.check_webhook("task_changed_description", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_task_deleted(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) deleted task **New Task**."
|
||||
self.check_webhook("task_deleted", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_task_changed_comment_added(self) -> None:
|
||||
message = (
|
||||
"[TomaszKolek](https://tree.taiga.io/profile/kolaszek) commented on task **New Task**."
|
||||
)
|
||||
self.check_webhook("task_changed_comment_added", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_task_changed_due_date(self) -> None:
|
||||
message = (
|
||||
"[Aditya Verma](https://tree.taiga.io/profile/orientor) changed due date of task"
|
||||
" [nice task](https://tree.taiga.io/project/orientor-sd/task/56) from 2020-02-22 to"
|
||||
" 2020-02-15."
|
||||
)
|
||||
self.check_webhook("task_changed_due_date", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_task_changed_new_due_date(self) -> None:
|
||||
message = "[Aditya Verma](https://tree.taiga.io/profile/orientor) set due date of task [nice task](https://tree.taiga.io/project/orientor-sd/task/56) to 2020-02-22."
|
||||
self.check_webhook("task_changed_new_due_date", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_sprint_created(self) -> None:
|
||||
message = (
|
||||
"[TomaszKolek](https://tree.taiga.io/profile/kolaszek) created sprint **New sprint**."
|
||||
)
|
||||
self.check_webhook("sprint_created", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_sprint_deleted(self) -> None:
|
||||
message = (
|
||||
"[TomaszKolek](https://tree.taiga.io/profile/kolaszek) deleted sprint **New name**."
|
||||
)
|
||||
self.check_webhook("sprint_deleted", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_sprint_changed_time(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) changed estimated finish of sprint **New sprint** from 2017-01-24 to 2017-01-25."
|
||||
self.check_webhook("sprint_changed_time", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_sprint_changed_name(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) renamed sprint from New sprint to **New name**."
|
||||
self.check_webhook("sprint_changed_name", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_created(self) -> None:
|
||||
message = (
|
||||
"[TomaszKolek](https://tree.taiga.io/profile/kolaszek) created issue **New issue**."
|
||||
)
|
||||
self.check_webhook("issue_created", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_created_link(self) -> None:
|
||||
message = "[Aditya Verma](https://tree.taiga.io/profile/orientor) created issue [Issues](https://tree.taiga.io/project/orientor-sd/issue/49)."
|
||||
self.check_webhook("issue_created_link", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_deleted(self) -> None:
|
||||
message = (
|
||||
"[TomaszKolek](https://tree.taiga.io/profile/kolaszek) deleted issue **New issue**."
|
||||
)
|
||||
self.check_webhook("issue_deleted", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_changed_assigned(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) assigned issue **New issue** to TomaszKolek."
|
||||
self.check_webhook("issue_changed_assigned", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_changed_reassigned(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) reassigned issue **New issue** from TomaszKolek to HanSolo."
|
||||
self.check_webhook("issue_changed_reassigned", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_changed_subject(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) renamed issue New issue to **New issueNewSubject**."
|
||||
self.check_webhook("issue_changed_subject", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_changed_description(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) updated description of issue **New issue**."
|
||||
self.check_webhook("issue_changed_description", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_changed_type(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) changed type of issue **New issue** from Bug to Question."
|
||||
self.check_webhook("issue_changed_type", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_changed_status(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) changed status of issue **New issue** from New to In progress."
|
||||
self.check_webhook("issue_changed_status", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_changed_severity(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) changed severity of issue **New issue** from Normal to Minor."
|
||||
self.check_webhook("issue_changed_severity", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_changed_priority(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) changed priority of issue **New issue** from Normal to Low."
|
||||
self.check_webhook("issue_changed_priority", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_changed_comment_added(self) -> None:
|
||||
message = "[TomaszKolek](https://tree.taiga.io/profile/kolaszek) commented on issue **New issue**."
|
||||
self.check_webhook("issue_changed_comment_added", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_changed_blocked(self) -> None:
|
||||
message = "[Aditya Verma](https://tree.taiga.io/profile/orientor) blocked issue [Issues](https://tree.taiga.io/project/orientor-sd/issue/49)."
|
||||
self.check_webhook("issue_changed_blocked", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_changed_unblocked(self) -> None:
|
||||
message = "[Aditya Verma](https://tree.taiga.io/profile/orientor) unblocked issue [Issues](https://tree.taiga.io/project/orientor-sd/issue/49)."
|
||||
self.check_webhook("issue_changed_unblocked", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_changed_due_date(self) -> None:
|
||||
message = (
|
||||
"[Aditya Verma](https://tree.taiga.io/profile/orientor) changed due date of issue"
|
||||
" [Issues](https://tree.taiga.io/project/orientor-sd/issue/49) from 2020-03-08 to"
|
||||
" 2020-02-22."
|
||||
)
|
||||
self.check_webhook("issue_changed_due_date", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_changed_new_due_date(self) -> None:
|
||||
message = "[Aditya Verma](https://tree.taiga.io/profile/orientor) set due date of issue [Nice Issue](https://tree.taiga.io/project/orientor-sd/issue/53) to 2020-02-22."
|
||||
self.check_webhook("issue_changed_new_due_date", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_changed_new_sprint(self) -> None:
|
||||
message = "[Aditya Verma](https://tree.taiga.io/profile/orientor) added issue [Nice Issue](https://tree.taiga.io/project/orientor-sd/issue/53) to sprint eres."
|
||||
self.check_webhook("issue_changed_new_sprint", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_issue_changed_remove_sprint(self) -> None:
|
||||
message = "[Aditya Verma](https://tree.taiga.io/profile/orientor) detached issue [Nice Issue](https://tree.taiga.io/project/orientor-sd/issue/53) from sprint eres."
|
||||
self.check_webhook("issue_changed_remove_sprint", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_epic_created(self) -> None:
|
||||
message = "[Eeshan Garg](https://tree.taiga.io/profile/eeshangarg) created epic **Zulip is awesome!**."
|
||||
self.check_webhook("epic_created", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_epic_changed_assigned(self) -> None:
|
||||
message = "[Eeshan Garg](https://tree.taiga.io/profile/eeshangarg) assigned epic **Zulip is awesome!** to Eeshan Garg."
|
||||
self.check_webhook("epic_changed_assigned", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_epic_changed_unassigned(self) -> None:
|
||||
message = "[Eeshan Garg](https://tree.taiga.io/profile/eeshangarg) unassigned epic **Zulip is awesome!**."
|
||||
self.check_webhook("epic_changed_unassigned", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_epic_changed_reassigned(self) -> None:
|
||||
message = "[Eeshan Garg](https://tree.taiga.io/profile/eeshangarg) reassigned epic **Zulip is awesome!** from Eeshan Garg to Angela Johnson."
|
||||
self.check_webhook("epic_changed_reassigned", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_epic_changed_blocked(self) -> None:
|
||||
message = "[Eeshan Garg](https://tree.taiga.io/profile/eeshangarg) blocked epic **Zulip is awesome!**."
|
||||
self.check_webhook("epic_changed_blocked", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_epic_changed_unblocked(self) -> None:
|
||||
message = "[Eeshan Garg](https://tree.taiga.io/profile/eeshangarg) unblocked epic **Zulip is awesome!**."
|
||||
self.check_webhook("epic_changed_unblocked", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_epic_changed_status(self) -> None:
|
||||
message = "[Eeshan Garg](https://tree.taiga.io/profile/eeshangarg) changed status of epic **Zulip is awesome!** from New to In progress."
|
||||
self.check_webhook("epic_changed_status", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_epic_changed_renamed(self) -> None:
|
||||
message = "[Eeshan Garg](https://tree.taiga.io/profile/eeshangarg) renamed epic from **Zulip is awesome!** to **Zulip is great!**."
|
||||
self.check_webhook("epic_changed_renamed", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_epic_changed_description(self) -> None:
|
||||
message = "[Eeshan Garg](https://tree.taiga.io/profile/eeshangarg) updated description of epic **Zulip is great!**."
|
||||
self.check_webhook("epic_changed_description", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_epic_changed_commented(self) -> None:
|
||||
message = "[Eeshan Garg](https://tree.taiga.io/profile/eeshangarg) commented on epic **Zulip is great!**."
|
||||
self.check_webhook("epic_changed_commented", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_epic_deleted(self) -> None:
|
||||
message = "[Eeshan Garg](https://tree.taiga.io/profile/eeshangarg) deleted epic **Zulip is great!**."
|
||||
self.check_webhook("epic_deleted", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_relateduserstory_created(self) -> None:
|
||||
message = "[Eeshan Garg](https://tree.taiga.io/profile/eeshangarg) added a related user story **A related user story** to the epic **This is Epic!**."
|
||||
self.check_webhook("relateduserstory_created", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_relateduserstory_created_link(self) -> None:
|
||||
message = (
|
||||
"[Aditya Verma](https://tree.taiga.io/profile/orientor) added a related user story"
|
||||
" [Nice Issue](https://tree.taiga.io/project/orientor-sd/us/54) to the epic"
|
||||
" [ASAS](https://tree.taiga.io/project/orientor-sd/epic/42)."
|
||||
)
|
||||
self.check_webhook("relateduserstory_created_link", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_relateduserstory_deleted(self) -> None:
|
||||
message = "[Eeshan Garg](https://tree.taiga.io/profile/eeshangarg) removed a related user story **A related user story, which is epic** from the epic **This is Epic!**."
|
||||
self.check_webhook("relateduserstory_deleted", self.TOPIC_NAME, message)
|
||||
|
||||
def test_taiga_webhook_test(self) -> None:
|
||||
message = (
|
||||
"[Jan](https://tree.taiga.io/profile/kostek) triggered a test of the Taiga integration."
|
||||
)
|
||||
self.check_webhook("webhook_test", self.TOPIC_NAME, message)
|
||||
287
zerver/webhooks/taiga/view.py
Normal file
287
zerver/webhooks/taiga/view.py
Normal file
@@ -0,0 +1,287 @@
|
||||
"""Taiga integration for Zulip.
|
||||
|
||||
Tips for notification output:
|
||||
|
||||
*Text formatting*: if there has been a change of a property, the new
|
||||
value should always be in bold; otherwise the subject of US/task
|
||||
should be in bold.
|
||||
"""
|
||||
|
||||
from typing import TypedDict
|
||||
|
||||
from django.http import HttpRequest, HttpResponse
|
||||
|
||||
from zerver.decorator import webhook_view
|
||||
from zerver.lib.response import json_success
|
||||
from zerver.lib.typed_endpoint import JsonBodyPayload, typed_endpoint
|
||||
from zerver.lib.validator import WildValue, check_bool, check_none_or, check_string
|
||||
from zerver.lib.webhooks.common import check_send_webhook_message
|
||||
from zerver.models import UserProfile
|
||||
|
||||
|
||||
class EventType(TypedDict):
|
||||
type: str
|
||||
event: str
|
||||
values: dict[str, str | bool | None]
|
||||
|
||||
|
||||
@webhook_view("Taiga")
|
||||
@typed_endpoint
|
||||
def api_taiga_webhook(
|
||||
request: HttpRequest,
|
||||
user_profile: UserProfile,
|
||||
*,
|
||||
message: JsonBodyPayload[WildValue],
|
||||
) -> HttpResponse:
|
||||
parsed_events = parse_message(message)
|
||||
content = "".join(sorted(generate_content(event) + "\n" for event in parsed_events))
|
||||
topic_name = "General"
|
||||
if message["data"].get("milestone") and "name" in message["data"]["milestone"]:
|
||||
topic_name = message["data"]["milestone"]["name"].tame(check_string)
|
||||
check_send_webhook_message(request, user_profile, topic_name, content)
|
||||
|
||||
return json_success(request)
|
||||
|
||||
|
||||
TEMPLATES = {
|
||||
"epic": {
|
||||
"create": "{user} created epic {subject}.",
|
||||
"set_assigned_to": "{user} assigned epic {subject} to {new}.",
|
||||
"unset_assigned_to": "{user} unassigned epic {subject}.",
|
||||
"changed_assigned_to": "{user} reassigned epic {subject} from {old} to {new}.",
|
||||
"blocked": "{user} blocked epic {subject}.",
|
||||
"unblocked": "{user} unblocked epic {subject}.",
|
||||
"changed_status": "{user} changed status of epic {subject} from {old} to {new}.",
|
||||
"renamed": "{user} renamed epic from **{old}** to **{new}**.",
|
||||
"description_diff": "{user} updated description of epic {subject}.",
|
||||
"commented": "{user} commented on epic {subject}.",
|
||||
"delete": "{user} deleted epic {subject}.",
|
||||
},
|
||||
"relateduserstory": {
|
||||
"create": (
|
||||
"{user} added a related user story {userstory_subject} to the epic {epic_subject}."
|
||||
),
|
||||
"delete": (
|
||||
"{user} removed a related user story {userstory_subject} from the epic {epic_subject}."
|
||||
),
|
||||
},
|
||||
"userstory": {
|
||||
"create": "{user} created user story {subject}.",
|
||||
"set_assigned_to": "{user} assigned user story {subject} to {new}.",
|
||||
"unset_assigned_to": "{user} unassigned user story {subject}.",
|
||||
"changed_assigned_to": "{user} reassigned user story {subject} from {old} to {new}.",
|
||||
"points": "{user} changed estimation of user story {subject}.",
|
||||
"blocked": "{user} blocked user story {subject}.",
|
||||
"unblocked": "{user} unblocked user story {subject}.",
|
||||
"set_milestone": "{user} added user story {subject} to sprint {new}.",
|
||||
"unset_milestone": "{user} removed user story {subject} from sprint {old}.",
|
||||
"changed_milestone": "{user} changed sprint of user story {subject} from {old} to {new}.",
|
||||
"changed_status": "{user} changed status of user story {subject} from {old} to {new}.",
|
||||
"closed": "{user} closed user story {subject}.",
|
||||
"reopened": "{user} reopened user story {subject}.",
|
||||
"renamed": "{user} renamed user story from {old} to **{new}**.",
|
||||
"description_diff": "{user} updated description of user story {subject}.",
|
||||
"commented": "{user} commented on user story {subject}.",
|
||||
"delete": "{user} deleted user story {subject}.",
|
||||
"due_date": "{user} changed due date of user story {subject} from {old} to {new}.",
|
||||
"set_due_date": "{user} set due date of user story {subject} to {new}.",
|
||||
},
|
||||
"milestone": {
|
||||
"create": "{user} created sprint {subject}.",
|
||||
"renamed": "{user} renamed sprint from {old} to **{new}**.",
|
||||
"estimated_start": "{user} changed estimated start of sprint {subject}"
|
||||
" from {old} to {new}.",
|
||||
"estimated_finish": "{user} changed estimated finish of sprint {subject}"
|
||||
" from {old} to {new}.",
|
||||
"set_estimated_start": "{user} changed estimated start of sprint {subject} to {new}.",
|
||||
"set_estimated_finish": "{user} set estimated finish of sprint {subject} to {new}.",
|
||||
"delete": "{user} deleted sprint {subject}.",
|
||||
},
|
||||
"task": {
|
||||
"create": "{user} created task {subject}.",
|
||||
"set_assigned_to": "{user} assigned task {subject} to {new}.",
|
||||
"unset_assigned_to": "{user} unassigned task {subject}.",
|
||||
"changed_assigned_to": "{user} reassigned task {subject} from {old} to {new}.",
|
||||
"blocked": "{user} blocked task {subject}.",
|
||||
"unblocked": "{user} unblocked task {subject}.",
|
||||
"changed_status": "{user} changed status of task {subject} from {old} to {new}.",
|
||||
"renamed": "{user} renamed task {old} to **{new}**.",
|
||||
"description_diff": "{user} updated description of task {subject}.",
|
||||
"set_milestone": "{user} added task {subject} to sprint {new}.",
|
||||
"commented": "{user} commented on task {subject}.",
|
||||
"delete": "{user} deleted task {subject}.",
|
||||
"changed_us": "{user} moved task {subject} from user story {old} to {new}.",
|
||||
"due_date": "{user} changed due date of task {subject} from {old} to {new}.",
|
||||
"set_due_date": "{user} set due date of task {subject} to {new}.",
|
||||
},
|
||||
"issue": {
|
||||
"create": "{user} created issue {subject}.",
|
||||
"set_assigned_to": "{user} assigned issue {subject} to {new}.",
|
||||
"unset_assigned_to": "{user} unassigned issue {subject}.",
|
||||
"changed_assigned_to": "{user} reassigned issue {subject} from {old} to {new}.",
|
||||
"set_milestone": "{user} added issue {subject} to sprint {new}.",
|
||||
"unset_milestone": "{user} detached issue {subject} from sprint {old}.",
|
||||
"changed_priority": "{user} changed priority of issue {subject} from {old} to {new}.",
|
||||
"changed_severity": "{user} changed severity of issue {subject} from {old} to {new}.",
|
||||
"changed_status": "{user} changed status of issue {subject} from {old} to {new}.",
|
||||
"changed_type": "{user} changed type of issue {subject} from {old} to {new}.",
|
||||
"renamed": "{user} renamed issue {old} to **{new}**.",
|
||||
"description_diff": "{user} updated description of issue {subject}.",
|
||||
"commented": "{user} commented on issue {subject}.",
|
||||
"delete": "{user} deleted issue {subject}.",
|
||||
"due_date": "{user} changed due date of issue {subject} from {old} to {new}.",
|
||||
"set_due_date": "{user} set due date of issue {subject} to {new}.",
|
||||
"blocked": "{user} blocked issue {subject}.",
|
||||
"unblocked": "{user} unblocked issue {subject}.",
|
||||
},
|
||||
"webhook_test": {
|
||||
"test": "{user} triggered a test of the Taiga integration.",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
def get_old_and_new_values(change_type: str, message: WildValue) -> tuple[str, str]:
|
||||
diff = message["change"]["diff"][change_type]
|
||||
old = diff.get("from").tame(check_none_or(check_string))
|
||||
new = diff.get("to").tame(check_none_or(check_string))
|
||||
return old or "", new or ""
|
||||
|
||||
|
||||
def parse_comment(
|
||||
message: WildValue,
|
||||
) -> EventType:
|
||||
return {
|
||||
"event": "commented",
|
||||
"type": message["type"].tame(check_string),
|
||||
"values": {
|
||||
"user": get_display_user(message),
|
||||
"subject": get_subject(message),
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
def parse_create_or_delete(
|
||||
message: WildValue,
|
||||
) -> EventType:
|
||||
event_type = message["type"].tame(check_string)
|
||||
|
||||
values: dict[str, str | bool | None] = {"user": get_display_user(message)}
|
||||
if event_type == "relateduserstory":
|
||||
values["epic_subject"] = get_subject(message, "epic")
|
||||
values["userstory_subject"] = get_subject(message, "user_story")
|
||||
else:
|
||||
values["subject"] = get_subject(message)
|
||||
|
||||
return EventType(type=event_type, event=message["action"].tame(check_string), values=values)
|
||||
|
||||
|
||||
def parse_change_event(change_type: str, message: WildValue) -> EventType | None:
|
||||
diff_data = message["change"]["diff"]
|
||||
values: dict[str, str | bool | None] = {
|
||||
"user": get_display_user(message),
|
||||
"subject": get_subject(message),
|
||||
}
|
||||
event_type: str | None
|
||||
|
||||
match change_type:
|
||||
case "description_diff" | "points":
|
||||
event_type = change_type
|
||||
|
||||
case "milestone" | "assigned_to" | "estimated_finish" | "estimated_start" | "due_date":
|
||||
old, new = get_old_and_new_values(change_type, message)
|
||||
if not old:
|
||||
event_type, values["new"] = f"set_{change_type}", new
|
||||
elif not new and change_type in ("milestone", "assigned_to"):
|
||||
event_type, values["old"] = f"unset_{change_type}", old
|
||||
elif old != new:
|
||||
event_type = (
|
||||
change_type
|
||||
if "date" in change_type or "estimated" in change_type
|
||||
else f"changed_{change_type}"
|
||||
)
|
||||
values.update(old=old, new=new)
|
||||
else:
|
||||
return None
|
||||
|
||||
case "is_blocked" | "is_closed":
|
||||
is_to = diff_data[change_type]["to"].tame(check_bool)
|
||||
mapping = {"is_blocked": ("blocked", "unblocked"), "is_closed": ("closed", "reopened")}
|
||||
event_type = mapping[change_type][0] if is_to else mapping[change_type][1]
|
||||
|
||||
case "user_story":
|
||||
event_type = "changed_us"
|
||||
values["old"], values["new"] = get_old_and_new_values(change_type, message)
|
||||
|
||||
case "subject" | "name":
|
||||
event_type = "renamed"
|
||||
values["old"], values["new"] = get_old_and_new_values(change_type, message)
|
||||
|
||||
case "priority" | "severity" | "type" | "status":
|
||||
event_type = f"changed_{change_type}"
|
||||
values["old"], values["new"] = get_old_and_new_values(change_type, message)
|
||||
|
||||
case _:
|
||||
return None
|
||||
|
||||
return EventType(type=message["type"].tame(check_string), event=event_type, values=values)
|
||||
|
||||
|
||||
def parse_webhook_test(
|
||||
message: WildValue,
|
||||
) -> EventType:
|
||||
return {
|
||||
"type": "webhook_test",
|
||||
"event": "test",
|
||||
"values": {
|
||||
"user": get_display_user(message),
|
||||
"end_type": "test",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
def parse_message(
|
||||
message: WildValue,
|
||||
) -> list[EventType]:
|
||||
events: list[EventType] = []
|
||||
action = message["action"].tame(check_string)
|
||||
|
||||
match action:
|
||||
case "create" | "delete":
|
||||
events.append(parse_create_or_delete(message))
|
||||
case "change":
|
||||
if message["change"]["diff"]:
|
||||
for value in message["change"]["diff"].keys(): # noqa: SIM118
|
||||
parsed_event = parse_change_event(value, message)
|
||||
if parsed_event:
|
||||
events.append(parsed_event)
|
||||
if message["change"]["comment"].tame(check_string):
|
||||
events.append(parse_comment(message))
|
||||
case "test":
|
||||
events.append(parse_webhook_test(message))
|
||||
case _: # nocoverage
|
||||
pass
|
||||
|
||||
return events
|
||||
|
||||
|
||||
def generate_content(data: EventType) -> str:
|
||||
template = TEMPLATES[data["type"]][data["event"]]
|
||||
content = template.format(**data["values"])
|
||||
return content
|
||||
|
||||
|
||||
def get_display_user(message: WildValue) -> str:
|
||||
owner_name = message["by"]["full_name"].tame(check_string)
|
||||
owner_link = message["by"]["permalink"].tame(check_string)
|
||||
return f"[{owner_name}]({owner_link})"
|
||||
|
||||
|
||||
def format_subject(subject_text: str, permalink: str | None) -> str:
|
||||
return f"[{subject_text}]({permalink})" if permalink else f"**{subject_text}**"
|
||||
|
||||
|
||||
def get_subject(message: WildValue, data_field: str | None = None) -> str:
|
||||
data = message["data"][data_field] if data_field is not None else message["data"]
|
||||
text = data.get("subject").tame(check_none_or(check_string)) or data["name"].tame(check_string)
|
||||
permalink = data.get("permalink").tame(check_none_or(check_string))
|
||||
return format_subject(text, permalink)
|
||||
Reference in New Issue
Block a user