mirror of
https://github.com/zulip/zulip.git
synced 2026-07-18 21:04:19 +08:00
This commit adds a test for the payload that is generated when a Task is moved from one user story to another on Taiga's Sprint Taskboard UI. This commit also gets up this webhook's test coverage up to 100%.
209 lines
6.2 KiB
JSON
209 lines
6.2 KiB
JSON
{
|
|
"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
|
|
}
|
|
}
|