Update the properties of the specified the mapped status in a channel.
PATCH odata/_fieldMappings({id}) –x-appvity-channelId: [ChannelID] –x-appvity-teamid: [TeamID] –Cookie: graphNodeCookie=[ID] –data-raw: {MappingStatus-Object} |
odata/_fieldMappings({id})
PATCH.
Do not supply OData Filter syntax.
Request Header
1 | --x-appvity-channelId: [ChannelID] |
Body
In the request body, supply a JSON representation of fieldMappings object.1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23{
"fieldId": "5f5ed9639669798c318eb767",
"fieldName": "Not Started",
"projectId": "5f680e6d4d596392f55e0553",
"projectHostname": "anadea.atlassian.net",
"source": "Jira",
"sourceId": "10000",
"sourceName": "New 001",
"enable": true,
"type": "status",
"entityType": "Task"
}
If successful, this method returns a 204 No Content response code.
Code: 401 UNAUTHORIZED, 500 ERROR EXCEPTION.
Content: {error: “error message”}
If the mapping status is not available, this method returns 400 Bad Request with the message:1
2
3
4
5{
"message": "Update not successful"
}
Comment