Get Phase of selected source
Retrieves the list of Phase for each source.
eTask supports 4 types of sources, each of which {source}
and {source-id}
correspond to \_id
and source properties in the Get Configured Project endpoint. However, the phase of eSource is using a different endpoint.
GET api/tasks/getPhase/{source -code}/{source-id}
--x-appvity-channelId: [ChannelID]
-x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]
--data-binary [FilterObject] |
URL Endpoint
api/tasks/getPhase/{source -code}/{source-id}
Request Header
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]
Body
No body for this method.
Response
Returns list of phases of a project from source following schema:
[
{
"id": "[PhaseID]",
"displayName": "[PhaseName]",
"value": "[PhaseValue]",
"sprintId": "[SprintID]",
"attributes": {
"key": "JJMEOTP-42"
}
}
]
"sprintId": [SprintID] is displayed only when the source code is Jira
Example:##
[
{
"id": "8e364db0-04e4-42c9-9991-2b1eef1a0033",
"displayName": "Sprint 1",
"value": "Z Anadea Project\\Sprint 1",
"attributes": {
"startDate": "2020-01-01T00:00:00Z",
"finishDate": "2020-01-31T00:00:00Z",
"timeFrame": "past"
}
},
{
"id": "3cf765fb-79cc-48dd-bd40-814ac8e96895",
"displayName": "Sprint 2",
"value": "Z Anadea Project\\Sprint 2",
"attributes": {
"startDate": "2020-02-03T00:00:00Z",
"finishDate": "2020-03-04T00:00:00Z",
"timeFrame": "past"
}
},
{
"id": "376c6711-356f-4ce7-a1f9-2a0a8e8614ca",
"displayName": "Sprint 3",
"value": "Z Anadea Project\\Sprint 3",
"attributes": {
"startDate": "2020-03-05T00:00:00Z",
"finishDate": "2020-04-06T00:00:00Z",
"timeFrame": "current"
}
}
]