Online Docs

Change assign to

Use this API to update assigned user to a bug.

1
2
3
4
5
6
7
8
9
POST api/bugs/assign/{source-code}/{bug-id}
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]
--data-raw
{
"bugId": bugID,
"user": UserObject
}

URL Endpoint

api/bugs/assign/{source-code}/{bug-id}

Method

POST.

Parameters

Do not support OData Filter syntax.

Request

Header

1
2
3
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]

Body

This endpoint required the User Object and bugId to update assign to of a bug.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"bugId": "5f5ee4929669798c31909601",
"user": [
{
"_id": "5bce7df753b66e19aaa3e862",
"sourceId": "e5d147a2-3780-4187-b97f-5b9a1bbfe243",
"displayName": "Nina Lowery",
"email": "nina.lowery@anadea",
"source": "Microsoft.Graph.User",
"username": "ninalowery@anadea.com",
"mapping": [],
"svgIcon": "ic_source_graph_24px",
"title": "Microsoft Graph"
}
]
}

Response

Code: 200 OK
If successful, this method returns a 200 OK response code and the user object in the response body.

Example

Request

1
2
3
4
5
6
curl --location --request GET 'https://teams.appvity.com/api/bugs?t=1600055978590&$count=true&$top=16&$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'
--d

Response

Comment

Was this article helpful?
Thanks For Your Feedback