Skip to main content
Last updated on
Version: v0.9

Get color mapping

Get property of all the color mapping of the current eTask channel.

GET api/mappings/color
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]

URL Endpoint

api/mappings/color

Method

GET.

Parameters

See OData Filter syntax

Request Header

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

Body

This method does not supply the request body.

Response

{

"[Properties]": [

{

"_id": [PropertiesID],

"type": [TYPE],

"name": [EntityName],

"color": [ColorCode]

}

]

}

Properties are the fields: Priority, Status, Severity and Date.

The PropertiesObject includes the following info:

  • [PropertiesID] is ID of option in a property

  • [TYPE] can be Bug, Task or Both. If [Properties] is Date "type": [TYPE] is not displayed.

  • [EntityName] and [ColorCode] are name and color option of an entity.

Example

{
"Priority": [
{
"_id": "5f5ed9639669798c318eb760",

"type": "Both",

"name": "High",

"color": "#C13636"
},

{
"_id": "5f5ed9639669798c318eb761",

"type": "Both",

"name": "Normal",

"color": "#6BBF6D"
},

{
"_id": "5f5ed9639669798c318eb762",

"type": "Both",

"name": "Low",

"color": "#C3C8D0"
}
],

"Status": [
{
"_id": "5f5ed9639669798c318eb76f",

"type": "Bug",

"name": "Completed",

"color": "#6162A5"
},

{
"_id": "5f5ed9639669798c318eb76a",

"type": "Task",

"name": "Completed",

"color": "#474876"
},

{
"_id": "5f5ed9639669798c318eb76e",

"type": "Bug",

"name": "Rework",

"color": "#5A8CC8"
},

{
"_id": "5f5ed9639669798c318eb769",

"type": "Task",

"name": "On Hold",

"color": "#E5C73A"
},

{
"_id": "5f5ed9639669798c318eb76d",

"type": "Bug",

"name": "Resolved",

"color": "#295499"
},

{
"_id": "5f5ed9639669798c318eb768",

"type": "Task",

"name": "In Progress",

"color": "#78BD6A"
},

{
"_id": "5f5ed9639669798c318eb76c",

"type": "Bug",

"name": "In Progress",

"color": "#78BD6A"
},

{
"_id": "5f5ed9639669798c318eb767",

"type": "Task",

"name": "Not Started",

"color": "#C3C8C0"
},

{
"_id": "5f5ed9639669798c318eb76b",

"type": "Bug",

"name": "Not Started",

"color": "#C3C8C0"
}
],

"Severity": [
{
"_id": "5f5ed9639669798c318eb766",

"name": "Low",

"color": "#C3C8D0"
},

{
"_id": "5f5ed9639669798c318eb765",

"name": "Medium",

"color": "#6BBF6D"
},

{
"_id": "5f5ed9639669798c318eb764",

"name": "High",

"color": "#C13636"
},

{
"_id": "5f5ed9639669798c318eb763",

"name": "Critical",

"color": "#262626"
}
],

"Date": []
}

Was this page helpful?