Online Docs

Get invalid bugs - cần sửa respond

Retrieves a list of invalid bugs that have not been mapped the statuses in the eTask project for each Team/Channel.

1
2
3
4
GET /api/bugs/wanderer [?<CommonODataExpression>]  
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID] |

URL Endpoint

api/bugs/wanderer

Method

GET.

Parameters

Support OData Filter syntax.

Request Header

1
2
3
4
5
--x-appvity-channelId: [ChannelID]

--x-appvity-teamid: [TeamID]

--Cookie: graphNodeCookie=[ID]

Response

Success

Example:

Request

1
2
3
4
5
curl --location --request GET 'https://teams.appvity.com/api/bugs/wanderer?t=1600055978590&$count=true&$orderby=internalId%20desc' \
--header 'x-appvity-groupId: f87faa71-57a8-4c14-91f0-517f54645106' \
--header 'x-appvity-channelId:19:15c258785b4040699180e7a8ad6c6014@thread.tacv2' \
--header 'Content-Type: application/json' \
--header 'Cookie:graphNodeCookie=s%3A7fny8dhq1t5QO4Z9UNMYylwYpS0WfpRC.8vknvG34SrmKol3FvYAzcKdzPa28mDQIxt48qc0LrBE'

Respond

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"@odata.context": "https://schema.appvity.com/odata/$metadata#tasks",
"value": [
{
"bucket": [],
"attachments": [],
"assignedTo": [
{
"_id": "5e61bd889e653912e84c1aa8",
"source": "Microsoft.Vsts",
"sourceId": "oliver@anadea.com",
"displayName": "Oliver Neal",
"username": "oliver@anadea.com"
}
],
"_id": "5f647f164d596392f55c6871",
"channelId": "19:15c258785b4040699180e7a8ad6c6014@thread.tacv2",
"sourceId": "45809",
"teamId": "19:15c258785b4040699180e7a8ad6c6014@thread.tacv2",
"bucketName": null,
"createdAt": "2020-09-18T09:34:03.987Z",
"createdBy": {
"source": "Microsoft.Vsts",
"email": "oliver@anadea.com",
"name": "Oliver Neal",
"sourceId": "oliver@anadea.com",
},
"entityId": "eTask.30c4d651-af40-4739-f9a1-5da75d4fbb4b",
"groupId": "f87faa71-57a8-4c14-91f0-517f54645106",
"internalId": 29,
"name": "A-Bug 1",
"phase": "Z Anadea Project\\Sprint 3",
"phaseName": "Z Anadea Project\\Sprint 3",
"priority": "Normal",
"severity": "Medium",
"source": "Microsoft.Vsts",
"status": "Invalid",
"sync": {
"status": "ETASK_MAPPING_NOTFOUND"
},
"tenantId": "df7abg9c-c05a-4fc9-b958-64faered911d",
"updatedAt": "2020-09-18T09:34:03.987Z",
"updatedBy": {
"displayName": "Oliver Neal",
"url": "https://spsprodeau1.vssps.visualstudio.com/A81a8ce47-94e1-4c05-8134-5db3bd24682a/_apis/Identities/0dc8bc36-6354-6e6b-b074-2297d0037b31",
"_links": {
"avatar": {
"href": "https://anadea.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.MGRjOGJjMzYtNjM1NC03ZTZiLWIwNzQtMjI5N2QwMDM3YjMx"
}
},
"id": "0dc8bc36-6354-6e6b-b074-2297d0037b31",
"uniqueName": "oliver@anadea.com",
"imageUrl": "https://anadea.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.MGRjOGJjMzYtNjM1NC03ZTZiLWIwNzQtMjI5N2QwMDM3YjMx",
"descriptor": "aad.MGRjOGJjMzYtNjM1NC03ZTZiLWIwNzQtMjI5N2QwMDM3YjMx"
},
"projectId": {
"enableBug": true,
"_id": "5f602e074d596392f53d456c",
"displayName": "",
"hostname": "https://anadea.visualstudio.com",
"projectName": "Z Anadea Project",
"sourceId": "1db34929-5779-4a21-b986-b9846ab1f4b4"
},
"relatedItemCount": 0
}
],
"@odata.count": 1
}

Comment

Was this article helpful?
Thanks For Your Feedback