ExportInsightWorkitemStatus
Retrieves the workitem_status table data for a specified organization in Performance Insight.
Operation description
The Performance Insight data export API is available only to Yunxiao Premium Edition customers. To learn more about the features of Yunxiao Premium Edition, visit https://help.aliyun.com/document_detail/173288.html.
Try it now
Test
RAM authorization
Request syntax
POST /organization/{organizationId}/data/workitemStatuses HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| organizationId |
string |
Yes |
The organization identifier, also known as the organization ID, in string format. You can obtain it from the Yunxiao access URL, such as https://devops.aliyun.com/organization/#{organizationId}. |
61db9af2148974246bexxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| startTime |
string |
Yes |
The start time. The interval between the start time and the end time cannot exceed one year. Format: YYYY-MM-DD HH:mm:ss. |
2024-05-01 00:00:00 |
| endTime |
string |
Yes |
The end time. The interval between the start time and the end time cannot exceed one year. Format: YYYY-MM-DD HH:mm:ss. |
2024-06-01 00:00:00 |
| nextToken |
string |
No |
The token for the next page. |
1 |
| maxResults |
integer |
No |
The maximum number of results. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| totalCount |
integer |
The total count. |
100 |
| nextToken |
string |
The token for the next page. A null value indicates that no next page exists. |
2 |
| maxResults |
integer |
The number of returned entries. |
10 |
| result |
array<object> |
The returned result. |
|
|
object |
workitem_status |
||
| id |
integer |
The auto-increment ID of the record. |
701615370 |
| gmtCreate |
integer |
The creation time. |
1713430241000 |
| gmtModified |
integer |
The update time. |
1713430241000 |
| workitemId |
string |
The ID of the work item. |
636f661a612a945bbcdb4cxxxx |
| isDeleted |
string |
Indicates whether the item is deleted. Valid values: Y and N. |
N |
| organizationId |
string |
The ID of the organization. |
61db9af2148974246bexxxx |
| assignedToId |
string |
The ID of the assignee. |
65e836b981d758be7a25xxxx |
| creatorId |
string |
The ID of the creator. |
65e836b981d758be7a25xxxx |
| gmtClosed |
integer |
The actual closure time. |
33166339200000 |
| gmtTodo |
integer |
The expected start time. |
33166339200000 |
| gmtDue |
integer |
The expected completion time. |
33166339200000 |
| gmtStart |
integer |
The actual start time, such as the time when the requirement is scheduled or confirmed. |
33166339200000 |
| isArchived |
string |
Indicates whether the item is archived. Valid values: Y and N. |
N |
| isDone |
string |
Indicates whether the item is completed. Valid values: Y and N. |
Y |
| parentId |
string |
The ID of the parent work item. |
c3640ab6233fcc10a7e3aaxxxx |
| participantIds |
string |
The IDs of the participants, separated by commas. |
6135b21fb383ef39551cxxxx,63466a385dc8531eebd7xxxx |
| phase |
integer |
The major phase. Valid values: 10 to 100, which correspond to to-do, doing, and done. |
10 |
| stage |
integer |
The minor stage. Valid values: 10 to 100, which correspond to stages in Projex such as confirmation, analysis, processing, design, and development. |
10 |
| priority |
integer |
The priority. Valid values: 0 to 9. |
0 |
| productId |
string |
The ID of the product. |
None |
| projectId |
string |
The ID of the project. |
505ac6433dfbda8df0b08bxxxx |
| source |
string |
The source. Valid values: Teambition and Projex. |
projex |
| sprintId |
string |
The ID of the sprint. |
505ac6433dfbda8df0b08bxxxx |
| status |
string |
The name of the status. |
Pending |
| statusId |
string |
The ID of the status. |
100005 |
| storyPoint |
number |
The story points. |
10.0 |
| subject |
string |
The subject. |
Test |
| type |
integer |
The major type of the work item. Valid values: requirement, task, and defect. |
1 |
| subType |
string |
The subtype of the work item, such as technical requirement or product requirement. |
9uy29901re573f561d69xxxx |
| versionId |
string |
The ID of the version. |
None |
| workTime |
integer |
The actual work hours in minutes. |
10 |
| expectedWorkTime |
integer |
The expected work hours in minutes. |
10 |
| versions |
string |
The versions. |
[6a8cdda167415bea1506c7262c] |
| serialNumber |
integer |
The serial number in the workspace. |
66 |
Examples
Success response
JSON format
{
"totalCount": 100,
"nextToken": "2",
"maxResults": 10,
"result": [
{
"id": 701615370,
"gmtCreate": 1713430241000,
"gmtModified": 1713430241000,
"workitemId": "636f661a612a945bbcdb4cxxxx",
"isDeleted": "N",
"organizationId": "61db9af2148974246bexxxx",
"assignedToId": "65e836b981d758be7a25xxxx",
"creatorId": "65e836b981d758be7a25xxxx",
"gmtClosed": 33166339200000,
"gmtTodo": 33166339200000,
"gmtDue": 33166339200000,
"gmtStart": 33166339200000,
"isArchived": "N",
"isDone": "Y",
"parentId": "c3640ab6233fcc10a7e3aaxxxx",
"participantIds": "6135b21fb383ef39551cxxxx,63466a385dc8531eebd7xxxx",
"phase": 10,
"stage": 10,
"priority": 0,
"productId": "无",
"projectId": "505ac6433dfbda8df0b08bxxxx",
"source": "projex",
"sprintId": "505ac6433dfbda8df0b08bxxxx",
"status": "待处理",
"statusId": "100005",
"storyPoint": 10,
"subject": "测试",
"type": 1,
"subType": "9uy29901re573f561d69xxxx",
"versionId": "无",
"workTime": 10,
"expectedWorkTime": 10,
"versions": "[6a8cdda167415bea1506c7262c]",
"serialNumber": 66
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.