Skip to content

Latest commit

 

History

History
1853 lines (1792 loc) · 66.9 KB

File metadata and controls

1853 lines (1792 loc) · 66.9 KB

API reference

NOTE: All requests need to attach cookies and general headers as following:

  -H 'Accept: application/json, text/plain, */*' \
  -H 'Accept-Language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7' \
  -H 'Content-Type: application/json' \
  -H 'Cookie: $cookies'

And $userid should be configurable.

User information - /projex/api/common/user/$userid

Request example

GET '/projex/api/common/user/$userid?_input_charset=utf-8'

Response example

{
    "code": 200,
    "result": {
        "account": null,
        "identifier": "e1e401a5-cccc-46ed-xxxx-f6f1416bec44",
        "realName": "张xx",
        "nickName": "",
        "avatar": "/objects/ajax/default/avatars/5byg57qi",
        "stamp": null,
        "nameEn": null,
        "gender": null,
        "mobile": null,
        "email": "xx.xxx@email.com",
        "nickNamePinyin": null,
        "realNamePinyin": null,
        "division": null,
        "divisions": null,
        "organizationUserInfo": null,
        "displayNickName": "",
        "displayRealName": "xx",
        "displayName": "xx",
        "dingTalkId": null,
        "tbRoleId": "org_guest",
        "isDisabled": false,
        "staffId": "E0013xxx",
        "isDeleted": false
    },
    "msg": "",
    "errorMsg": "",
    "traceId": "ccdcbc66336a49ad9ddb88fa4abd8cdc.51261.17512516893956627",
    "errorCode": null
}

List projects - /projex/api/workspace/project/search/list

Request example

GET '/projex/api/workspace/project/search/list?extraConditions=$condition&conditions=$conditions&scope=all&category=Project&toPage=1&pageSize=50&_input_charset=utf-8'

Query parameters

  • extraConditions - Should be encoded into URL format
{
    "conditionGroups": [
        [
            {
                "className": "user",
                "fieldIdentifier": "users",
                "format": "multiList",
                "operator": "CONTAINS",
                "value": [
                    "$userid"
                ]
            }
        ],
        [
            {
                "className": "string",
                "fieldIdentifier": "scope",
                "format": "list",
                "operator": "CONTAINS",
                "value": [
                    "public"
                ]
            }
        ]
    ]
}
  • conditions - Should be encoded into URL format
{
    "conditionGroups": [
        []
    ]
}
  • toPage/pageSize - Will be used to control paging query

Response example

{
    "code": 200,
    "result": [
        {
            "identifier": "5a1295737102f79a8ddd1383ad",
            "name": "MITD-先进控制",
            "status": {
                "identifier": "8a4058a71159b682541b0864",
                "name": "未开始",
                "nameEn": null,
                "stageId": 8,
                "workflowStage": {
                    "name": "未开始",
                    "displayName": "未开始",
                    "identifier": "8",
                    "position": 2,
                    "nameEn": null
                },
                "displayName": "未开始",
                "source": "system",
                "gmtCreate": 1616571318000,
                "creator": {
                    "account": null,
                    "identifier": "AK-ADMIN",
                    "realName": null,
                    "nickName": "系统管理员",
                    "avatar": "https://img.alicdn.com/imgextra/i1/O1CN015XlhzJ1ZYqsDAAw1F_!!6000000003207-2-tps-49-50.png",
                    "stamp": null,
                    "nameEn": null,
                    "gender": null,
                    "mobile": null,
                    "email": null,
                    "nickNamePinyin": null,
                    "realNamePinyin": null,
                    "division": null,
                    "divisions": null,
                    "organizationUserInfo": null,
                    "displayNickName": "系统管理员",
                    "displayRealName": null,
                    "displayName": "系统管理员",
                    "dingTalkId": null,
                    "tbRoleId": null,
                    "isDisabled": null,
                    "staffId": null,
                    "isDeleted": null
                },
                "description": null,
                "modifier": null,
                "gmtModified": null,
                "resourceType": "Space",
                "gmtJoin": null,
                "joinId": null,
                "isDeleted": false
            },
            "logicalStatus": "NORMAL",
            "scope": "private",
            "icon": "/projex/public/projex/aone-workitem-fe/3.2.257/downloads/imgextra_i2_O1CN01VRHiBL21xrjj1Ldt7_!!6000000007052-2-tps-96-96.png",
            "creator": {
                "account": null,
                "identifier": "31f0180a-c46e-461f-968f-0885bbf811ed",
                "realName": "张xx",
                "nickName": "",
                "avatar": "/objects/ajax/default/avatars/5byg5Z-55Z-5",
                "displayName": "张xx",
                "division": null,
                "divisions": null
            },
            "gmtCreate": 1688626463000,
            "adminUsers": [
                {
                    "account": null,
                    "identifier": "bc02c929-d365-45a2-8cae-fee5afffeb95",
                    "realName": "王xx",
                    "nickName": "",
                    "avatar": "/objects/ajax/default/avatars/546L5Lqa5bOw",
                    "displayName": "王xx",
                    "division": null,
                    "divisions": null
                }
            ],
            "memberCount": 38,
            "unfinishedWorkitemCount": null,
            "type": "Project",
            "iconGroup": null,
            "iconSmall": "/projex/public/projex/aone-workitem-fe/3.2.257/downloads/imgextra_i2_O1CN01VRHiBL21xrjj1Ldt7_!!6000000007052-2-tps-96-96.png",
            "iconBig": "/projex/public/projex/aone-workitem-fe/3.2.257/downloads/imgextra_i1_O1CN01xAHPNF28AaQmIpsG0_!!6000000007892-2-tps-536-300.png",
            "deleteTime": null,
            "description": "R2R、FDC、RMS",
            "customCode": "ADCS",
            "bindProjectsCount": 0,
            "category": null,
            "customFields": [
                {
                    "fieldIdentifier": "4bbd60ce67a6da2dff5498edc6",
                    "fieldFormat": "list",
                    "fieldClassName": "user",
                    "valueList": [
                        {
                            "value": null,
                            "valueEn": null,
                            "displayValue": null,
                            "identifier": "09ab6cf9-0887-420b-aa68-47cc8e4dac00",
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "09ab6cf9-0887-420b-aa68-47cc8e4dac00",
                    "spaceIdentifier": null,
                    "position": null
                },
                {
                    "fieldIdentifier": "84ead45b0402f29d584d3de736",
                    "fieldFormat": "list",
                    "fieldClassName": "string",
                    "valueList": [
                        {
                            "value": null,
                            "valueEn": null,
                            "displayValue": null,
                            "identifier": "MITD",
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "MITD",
                    "spaceIdentifier": null,
                    "position": null
                }
            ]
        }
    ],
    "msg": "",
    "errorMsg": "",
    "traceId": "d3ea71e798bc4853a92223794e89f374.33955.17512491524701709",
    "toPage": 1,
    "pageSize": 25,
    "totalCount": 20,
    "totalPages": 1
}

Project versions - /projex/api/workspace/version/list

Request example

GET /projex/api/workspace/version/list?spaceIdentifier=$projectid&spaceType=Project&name=&status=TODO,DOING&toPage=1&pageSize=25&_input_charset=utf-8
  • $projectid: result[].identifier from projects API response

Response example

{
    "code": 200,
    "result": [
        {
            "id": null,
            "gmtCreate": 1750676288000,
            "gmtModified": 1750676288000,
            "creator": "5172c5d8-a9f7-4c49-8d45-1e3aeaf59424",
            "modifier": "5172c5d8-a9f7-4c49-8d45-1e3aeaf59424",
            "identifier": "ad33bc8ce45b0ed7dd6d3350ea",
            "name": "R2R-WET_25.07.0200.0",
            "locked": false,
            "startDate": 1750608000000,
            "publishDate": 1753804800000,
            "status": "TODO",
            "spaceIdentifier": "5a1295737102f79a8ddd1383ad",
            "spaceType": "Project",
            "isDeleted": null,
            "owners": [
                {
                    "account": null,
                    "identifier": "5172c5d8-a9f7-4c49-8d45-1e3aeaf59424",
                    "realName": "xxx",
                    "nickName": "",
                    "avatar": "/objects/ajax/default/avatars/5b6Q5oiQ5LmL",
                    "displayName": "xxx",
                    "division": null,
                    "divisions": null
                }
            ],
            "space": null
        }
    ],
    "msg": "",
    "errorMsg": "",
    "traceId": "ccdcbc66336a49ad9ddb88fa4abd8cdc.51260.17512516893956583",
    "toPage": 1,
    "pageSize": 25,
    "totalCount": 90,
    "totalPages": 4
}

Project progress - /projex/api/workitem/version/progressRates

Reqeust example

GET /projex/api/workitem/version/progressRates?identifier=$versionid&spaceType=Project&spaceIdentifier=$projectid&_input_charset=utf-8
  • $versionid: result[].identifier from "project versions" API response
  • $projectid: result[].identifier from "list projects" API response

Response example

{
    "code": 200,
    "result": {
        "versionIdentifier": "ad33bc8ce45b0ed7dd6d3350ea",
        "workitemCount": 1,
        "unfinishedWorkitemCount": 1,
        "finishedWorkitemCount": 0
    },
    "msg": "",
    "errorMsg": "",
    "traceId": "ccdcbc66336a49ad9ddb88fa4abd8cdc.48514.17512516897746101",
    "errorCode": null
}

Project workitem types - /projex/api/workitem/type/list

Request example

GET /projex/api/workitem/type/list?spaceType=Project&spaceIdentifier=$projectid&categoryIdentifier=Req&belong=undefined&enabled=true&_input_charset=utf-8
  • $projectid: result[].identifier from "list projects" API response

Response example

{
    "code": 200,
    "result": [
        {
            "identifier": "99d81601bc0365ed11439a46a4",
            "name": "开发需求",
            "nameEn": "",
            "categoryIdentifier": "Req",
            "displayName": "开发需求",
            "systemDefault": false,
            "gmtCreate": 1681293950000,
            "creator": "31f0180a-c46e-461f-968f-0885bbf811ed",
            "description": "",
            "icon": "workbench-blue-fill",
            "isDeleted": false
        }
    ],
    "msg": "",
    "errorMsg": "",
    "traceId": "d3ea71e798bc4853a92223794e89f374.34424.17512545716520877",
    "errorCode": null
}
  • result[].name: type of requirements, might be 开发需求, 原始需求, etc

Project workitems - /projex/api/workitem/workitem/list

Request example

POST /projex/api/workitem/workitem/list?_input_charset=utf-8

With request body as:

{
    "spaceType": "Project",
    "spaceIdentifier": "$projectid",
    "category": "",
    "toPage": 1,
    "pageSize": 25,
    "conditions": "{\"conditionGroups\":[[{\"fieldIdentifier\":\"workitemType\",\"operator\":\"CONTAINS\",\"value\":[\"$workitemtypeid\"],\"toValue\":null,\"className\":\"workitemType\",\"format\":\"list\"}]]}",
    "searchType": "TREE",
    "extraConditions": "{\"conditionGroups\":[[{\"fieldIdentifier\":\"version\",\"operator\":\"CONTAINS\",\"value\":[\"$versionid\"],\"toValue\":null,\"className\":\"version\",\"format\":\"multiList\"}]]}",
    "orderBy": "{\"fieldIdentifier\":\"priority\",\"format\":\"list\",\"order\":\"desc\",\"className\":\"option\"}",
    "scope": "child"
}
  • $projectid: result[].identifier from "list projects" API response
  • $workitemtypeid: result[].identifier from "project workitem types" API response, here we use 开发需求 identifier
  • $versionid: result[].identifier from "project versions" API response

Response example

{
    "code": 200,
    "result": [
        {
            "id": null,
            "identifier": "461af7ef3baaf12e83766d31c5",
            "organizationIdentifier": "f5f48592-8070-4e7a-9dee-7aed9985bc02",
            "gmtCreate": 1750676260000,
            "gmtModified": 1750676364000,
            "creator": {
                "account": null,
                "identifier": "5172c5d8-a9f7-4c49-8d45-1e3aeaf59424",
                "realName": "xxx",
                "nickName": "",
                "avatar": "/objects/ajax/default/avatars/5b6Q5oiQ5LmL",
                "stamp": null,
                "nameEn": null,
                "gender": null,
                "mobile": null,
                "email": "xxx.xu@email.com",
                "nickNamePinyin": null,
                "realNamePinyin": null,
                "division": null,
                "divisions": null,
                "organizationUserInfo": null,
                "displayNickName": "",
                "displayRealName": "xxx",
                "displayName": "xxx",
                "dingTalkId": null,
                "tbRoleId": "org_guest",
                "isDisabled": false,
                "staffId": "E00xxx",
                "isDeleted": false
            },
            "modifier": {
                "account": null,
                "identifier": "5172c5d8-a9f7-4c49-8d45-1e3aeaf59424",
                "realName": "xxx",
                "nickName": "",
                "avatar": "/objects/ajax/default/avatars/5b6Q5oiQ5LmL",
                "stamp": null,
                "nameEn": null,
                "gender": null,
                "mobile": null,
                "email": "xxx.xu@email.com",
                "nickNamePinyin": null,
                "realNamePinyin": null,
                "division": null,
                "divisions": null,
                "organizationUserInfo": null,
                "displayNickName": "",
                "displayRealName": "xxx",
                "displayName": "xxx",
                "dingTalkId": null,
                "tbRoleId": "org_guest",
                "isDisabled": false,
                "staffId": "xxx",
                "isDeleted": false
            },
            "serialNumber": "ADCS-6317",
            "subject": "【开发需求】WET depend on wafer process time",
            "description": "",
            "assignedToUser": {
                "account": null,
                "identifier": "5172c5d8-a9f7-4c49-8d45-1e3aeaf59424",
                "realName": "xxx",
                "nickName": "",
                "avatar": "/objects/ajax/default/avatars/5b6Q5oiQ5LmL",
                "stamp": null,
                "nameEn": null,
                "gender": null,
                "mobile": null,
                "email": "xxx.xu@email.com",
                "nickNamePinyin": null,
                "realNamePinyin": null,
                "division": null,
                "divisions": null,
                "organizationUserInfo": null,
                "displayNickName": "",
                "displayRealName": "xxx",
                "displayName": "xxx",
                "dingTalkId": null,
                "tbRoleId": "org_guest",
                "isDisabled": false,
                "staffId": "xxx",
                "isDeleted": false
            },
            "assignedTo": {
                "account": null,
                "identifier": "5172c5d8-a9f7-4c49-8d45-1e3aeaf59424",
                "realName": "xxx",
                "nickName": "",
                "avatar": "/objects/ajax/default/avatars/5b6Q5oiQ5LmL",
                "stamp": null,
                "nameEn": null,
                "gender": null,
                "mobile": null,
                "email": "xxx.xu@email.com",
                "nickNamePinyin": null,
                "realNamePinyin": null,
                "division": null,
                "divisions": null,
                "organizationUserInfo": null,
                "displayNickName": "",
                "displayRealName": "xxx",
                "displayName": "xxx",
                "dingTalkId": null,
                "tbRoleId": "org_guest",
                "isDisabled": false,
                "staffId": "xxx",
                "isDeleted": false
            },
            "status": {
                "identifier": "28",
                "name": "待确认",
                "nameEn": "new",
                "stageId": 1,
                "workflowStage": {
                    "name": "确认阶段",
                    "displayName": "确认阶段",
                    "identifier": "1",
                    "position": 1,
                    "nameEn": "todo stage"
                },
                "displayName": "待确认",
                "source": "system",
                "gmtCreate": 1618989040000,
                "creator": null,
                "description": null,
                "modifier": null,
                "gmtModified": null,
                "resourceType": "Workitem",
                "gmtJoin": null,
                "joinId": null,
                "isDeleted": false
            },
            "statusStage": {
                "id": 1,
                "name": "确认阶段"
            },
            "spaceIdentifier": "5a1295737102f79a8ddd1383ad",
            "space": {
                "identifier": "5a1295737102f79a8ddd1383ad",
                "name": "MITD-先进控制",
                "type": "Project",
                "parentIdentifier": null,
                "fullName": null,
                "mode": null,
                "status": null,
                "customCode": null
            },
            "spaceType": "Project",
            "logicalStatus": "NORMAL",
            "categoryIdentifier": "Req",
            "category": {
                "identifier": "Req",
                "name": "需求"
            },
            "finishTime": null,
            "identifierPath": "461af7ef3baaf12e83766d31c5",
            "parentIdentifier": "EMPTY_VALUE",
            "workitemTypeIdentifier": "99d81601bc0365ed11439a46a4",
            "updateStatusAt": null,
            "sprint": {
                "id": null,
                "gmtCreate": 1750676345000,
                "gmtModified": 1750676355000,
                "creator": null,
                "modifier": null,
                "identifier": "54763a2f8464b0a9e0295f47e2",
                "name": "Chao_25.06",
                "inherited": false,
                "lockStatus": null,
                "locked": false,
                "lockedScope": null,
                "startDate": 1750608000000,
                "endDate": 1753891200000,
                "status": "DOING",
                "description": "",
                "spaceIdentifier": "5a1295737102f79a8ddd1383ad",
                "owners": null,
                "capacityHours": null,
                "isDeleted": false
            },
            "version": [
                {
                    "id": null,
                    "gmtCreate": 1750676288000,
                    "gmtModified": 1750676288000,
                    "creator": "5172c5d8-a9f7-4c49-8d45-1e3aeaf59424",
                    "modifier": "5172c5d8-a9f7-4c49-8d45-1e3aeaf59424",
                    "identifier": "ad33bc8ce45b0ed7dd6d3350ea",
                    "name": "R2R-WET_25.07.0200.0",
                    "locked": false,
                    "startDate": 1750608000000,
                    "publishDate": 1753804800000,
                    "status": "TODO",
                    "spaceIdentifier": "5a1295737102f79a8ddd1383ad",
                    "spaceType": "Project",
                    "isDeleted": null,
                    "owners": null,
                    "space": {
                        "id": null,
                        "gmtCreate": 1688626463000,
                        "gmtModified": 1739522482000,
                        "creator": "31f0180a-c46e-461f-968f-0885bbf811ed",
                        "modifier": "a06e4def-231e-4986-8e18-9982220adba5",
                        "identifier": "5a1295737102f79a8ddd1383ad",
                        "name": "MITD-先进控制",
                        "categoryIdentifier": "Project",
                        "category": null,
                        "typeIdentifier": "CustomProject",
                        "subType": null,
                        "logicalStatus": "NORMAL",
                        "statusIdentifier": "8a4058a71159b682541b0864",
                        "scope": "private",
                        "parentIdentifier": null,
                        "identifierPath": "5a1295737102f79a8ddd1383ad",
                        "organizationIdentifier": "f5f48592-8070-4e7a-9dee-7aed9985bc02",
                        "customCode": "ADCS",
                        "icon": "/projex/public/projex/aone-workitem-fe/3.2.257/downloads/imgextra_i2_O1CN01VRHiBL21xrjj1Ldt7_!!6000000007052-2-tps-96-96.png",
                        "description": "R2R、FDC、RMS",
                        "statusStageIdentifier": "8",
                        "iconGroup": "{\"small\":\"/projex/public/projex/aone-workitem-fe/3.2.257/downloads/imgextra_i2_O1CN01VRHiBL21xrjj1Ldt7_!!6000000007052-2-tps-96-96.png\",\"big\":\"/projex/public/projex/aone-workitem-fe/3.2.257/downloads/imgextra_i1_O1CN01xAHPNF28AaQmIpsG0_!!6000000007892-2-tps-536-300.png\"}",
                        "iconSmall": "/projex/public/projex/aone-workitem-fe/3.2.257/downloads/imgextra_i2_O1CN01VRHiBL21xrjj1Ldt7_!!6000000007052-2-tps-96-96.png",
                        "iconBig": "/projex/public/projex/aone-workitem-fe/3.2.257/downloads/imgextra_i1_O1CN01xAHPNF28AaQmIpsG0_!!6000000007892-2-tps-536-300.png",
                        "hasSuperiorSpace": true
                    }
                }
            ],
            "module": null,
            "workitemType": {
                "identifier": "99d81601bc0365ed11439a46a4",
                "name": "开发需求",
                "nameEn": "",
                "categoryIdentifier": "Req",
                "displayName": "开发需求",
                "systemDefault": false,
                "gmtCreate": 1681293950000,
                "creator": "31f0180a-c46e-461f-968f-0885bbf811ed",
                "description": "",
                "icon": "workbench-blue-fill",
                "isDeleted": false
            },
            "tag": [
                {
                    "id": 1051,
                    "identifier": "644ea2d04d62eaf31a8858c263",
                    "name": "R2R用户需求",
                    "nameEn": "",
                    "displayName": "R2R用户需求",
                    "color": "#51B023",
                    "resourceType": "Space",
                    "resourceIdentifier": "5a1295737102f79a8ddd1383ad",
                    "creator": {
                        "account": null,
                        "identifier": "5172c5d8-a9f7-4c49-8d45-1e3aeaf59424",
                        "realName": "xxx",
                        "nickName": "",
                        "avatar": "/objects/ajax/default/avatars/5b6Q5oiQ5LmL",
                        "stamp": null,
                        "nameEn": null,
                        "gender": null,
                        "mobile": null,
                        "email": "xxx.xu@email.com",
                        "nickNamePinyin": null,
                        "realNamePinyin": null,
                        "division": null,
                        "divisions": null,
                        "organizationUserInfo": null,
                        "displayNickName": "",
                        "displayRealName": "xxx",
                        "displayName": "xxx",
                        "dingTalkId": null,
                        "tbRoleId": "org_guest",
                        "isDisabled": false,
                        "staffId": "xxx",
                        "isDeleted": false
                    },
                    "modifier": null,
                    "gmtCreate": 1721649864000,
                    "gmtModified": null,
                    "isDeleted": false
                }
            ],
            "relatedSpace": [],
            "customFields": [
                {
                    "fieldIdentifier": "b8a6908b8be127ad8ed8808675",
                    "fieldFormat": "list",
                    "fieldClassName": "string",
                    "valueList": [
                        {
                            "value": null,
                            "valueEn": null,
                            "displayValue": null,
                            "identifier": "常规需求",
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "常规需求",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "serialNumber",
                    "fieldFormat": "input",
                    "fieldClassName": "string",
                    "valueList": null,
                    "objectValue": null,
                    "value": "ADCS-6317",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "seriousLevel",
                    "fieldFormat": "list",
                    "fieldClassName": "option",
                    "valueList": [
                        {
                            "value": null,
                            "valueEn": null,
                            "displayValue": null,
                            "identifier": null,
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "null",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "directoryIdentifier",
                    "fieldFormat": "list",
                    "fieldClassName": "option",
                    "valueList": [
                        {
                            "value": null,
                            "valueEn": null,
                            "displayValue": null,
                            "identifier": null,
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "null",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "priority",
                    "fieldFormat": "list",
                    "fieldClassName": "option",
                    "valueList": [
                        {
                            "value": "",
                            "valueEn": "Medium",
                            "displayValue": "",
                            "identifier": "3443a3e7893038cbf33b82af56",
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "3443a3e7893038cbf33b82af56",
                    "workitemIdentifier": null,
                    "position": 3,
                    "level": 4
                }
            ],
            "childCount": 0,
            "unFinishedChildCount": 0,
            "planStartDate": null,
            "planEndDate": null,
            "dependent": [],
            "parentWorkitem": null,
            "workitem.tracker": null,
            "ak.issue.member": null,
            "workitem.verifier": null,
            "workitem.owner": null
        }
    ],
    "msg": "",
    "errorMsg": "",
    "traceId": "ccdcbc66336a49ad9ddb88fa4abd8cdc.43093.17512608656445339",
    "errorCode": null,
    "toPage": 1,
    "pageSize": 25,
    "totalCount": 1,
    "totalPages": 1
}

Query related workitems - /projex/api/workitem/v2/workitem/$workitemid/relation/workitem/list/by-relation-category

Request example

GET /projex/api/workitem/v2/workitem/$workitemid/relation/workitem/list/by-relation-category?category=ASSOCIATED&isForward=true&_input_charset=utf-8
  • $workitemid: result[].identifier from "project workitems" API response
  • category: can be one of ASSOCIATED, PARENT_SUB, DEPENDENT

Note:

  • Category ASSOCIATED is used to query associated workitems.
  • Category PARENT_SUB is used to query all children workitems.
  • For category DEPENDENT, isForward should be true if query all dependencies, false to query all other workitems that depends on current workitem.

Response example

{
    "code": 200,
    "result": [
        {
            "identifier": "454342065537724a000b77f365",
            "subject": "【开发任务】目标确认及开发",
            "ownerIdentifier": null,
            "ownerName": null,
            "relationRecordId": "34d1c3836ca220ec3eed6fdeef",
            "relationIdentifier": "ASSOCIATED",
            "category": "Task",
            "gmtCreate": 1749472265000,
            "workitemTypeIdentifier": "427597285c94ab5a0fa77e5951",
            "workitemTypeIcon": "code-grey-fill",
            "workitemTypeName": "开发",
            "assignToUser": {
                "account": null,
                "identifier": "ca4b5ef6-441b-4bfa-b1d6-1de6fb1a1e57",
                "realName": "xxx",
                "nickName": "",
                "avatar": "/objects/ajax/default/avatars/5a2Z5p2w",
                "stamp": null,
                "nameEn": null,
                "gender": null,
                "mobile": null,
                "email": "xxx@mail.com",
                "nickNamePinyin": null,
                "realNamePinyin": null,
                "division": null,
                "divisions": null,
                "organizationUserInfo": null,
                "displayNickName": "",
                "displayRealName": "xxx",
                "displayName": "xxx",
                "dingTalkId": null,
                "tbRoleId": "org_guest",
                "isDisabled": false,
                "staffId": "E0021234",
                "isDeleted": false
            },
            "createDate": 1749472239000,
            "creator": {
                "account": null,
                "identifier": "ca4b5ef6-441b-4bfa-b1d6-1de6fb1a1e57",
                "realName": "xxx",
                "nickName": "",
                "avatar": "/objects/ajax/default/avatars/5a2Z5p2w",
                "stamp": null,
                "nameEn": null,
                "gender": null,
                "mobile": null,
                "email": "xxx@mail.com",
                "nickNamePinyin": null,
                "realNamePinyin": null,
                "division": null,
                "divisions": null,
                "organizationUserInfo": null,
                "displayNickName": "",
                "displayRealName": "xxx",
                "displayName": "xxx",
                "dingTalkId": null,
                "tbRoleId": "org_guest",
                "isDisabled": false,
                "staffId": "E0021234",
                "isDeleted": false
            },
            "workitemStatus": {
                "identifier": "100014",
                "name": "已完成",
                "nameEn": "Done",
                "stageId": 4,
                "workflowStage": {
                    "name": "正常结束",
                    "displayName": "正常结束",
                    "identifier": "4",
                    "position": 100,
                    "nameEn": "done"
                },
                "displayName": "已完成",
                "source": "system",
                "gmtCreate": 1613996161000,
                "creator": null,
                "description": null,
                "modifier": null,
                "gmtModified": null,
                "resourceType": "Workitem",
                "gmtJoin": null,
                "joinId": null,
                "isDeleted": false
            },
            "updateDate": 1749472341000,
            "spaceIdentifier": "5a1295737102f79a8ddd1383ad",
            "spaceName": "MITD-先进控制",
            "fieldValueVOList": [
                {
                    "fieldIdentifier": "79",
                    "fieldFormat": "input",
                    "fieldClassName": "date",
                    "valueList": null,
                    "objectValue": null,
                    "value": "2025-06-04 00:00:00",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "serialNumber",
                    "fieldFormat": "input",
                    "fieldClassName": "string",
                    "valueList": null,
                    "objectValue": null,
                    "value": "ADCS-6214",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "seriousLevel",
                    "fieldFormat": "list",
                    "fieldClassName": "option",
                    "valueList": [
                        {
                            "value": null,
                            "valueEn": null,
                            "displayValue": null,
                            "identifier": null,
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "null",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "sumPlanedLaborHour",
                    "fieldFormat": "input",
                    "fieldClassName": "auto",
                    "valueList": null,
                    "objectValue": null,
                    "value": "40",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "sumActualLaborHour",
                    "fieldFormat": "input",
                    "fieldClassName": "auto",
                    "valueList": null,
                    "objectValue": null,
                    "value": "40",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "80",
                    "fieldFormat": "input",
                    "fieldClassName": "date",
                    "valueList": null,
                    "objectValue": null,
                    "value": "2025-06-07 23:59:59",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "101586",
                    "fieldFormat": "input",
                    "fieldClassName": "float",
                    "valueList": null,
                    "objectValue": null,
                    "value": "40",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "101587",
                    "fieldFormat": "input",
                    "fieldClassName": "float",
                    "valueList": null,
                    "objectValue": null,
                    "value": "40",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "directoryIdentifier",
                    "fieldFormat": "list",
                    "fieldClassName": "option",
                    "valueList": [
                        {
                            "value": null,
                            "valueEn": null,
                            "displayValue": null,
                            "identifier": null,
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "null",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "priority",
                    "fieldFormat": "list",
                    "fieldClassName": "option",
                    "valueList": [
                        {
                            "value": "",
                            "valueEn": "Medium",
                            "displayValue": "",
                            "identifier": "3443a3e7893038cbf33b82af56",
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "3443a3e7893038cbf33b82af56",
                    "workitemIdentifier": null,
                    "position": 3,
                    "level": 4
                },
                {
                    "fieldIdentifier": "c0350c92b0669a1e1f60983aaf",
                    "fieldFormat": "list",
                    "fieldClassName": "string",
                    "valueList": [
                        {
                            "value": null,
                            "valueEn": null,
                            "displayValue": null,
                            "identifier": "编码",
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "编码",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                }
            ],
            "serialNumber": "ADCS-6214"
        }
    ],
    "msg": "",
    "errorMsg": "",
    "traceId": "ccdcbc66336a49ad9ddb88fa4abd8cdc.49036.17512645495103659",
    "errorCode": null
}

Workitem workload - /projex/api/workitem/workitem/time/list

Request example

GET /projex/api/workitem/workitem/time/list?workitemIdentifier=$workitemid&_input_charset=utf-8
  • $workitemid: result[].identifier from "query related workitem" API response

Response example

{
    "code": 200,
    "result": [
        {
            "identifier": "7a79c8b78ab91a1f5735f5ccc3",
            "subject": "【开发任务】测试二",
            "ownerIdentifier": null,
            "ownerName": null,
            "relationRecordId": "c3b2829b2b0a4009f7cd71ba3a",
            "relationIdentifier": "ASSOCIATED",
            "category": "Task",
            "gmtCreate": 1749726661000,
            "workitemTypeIdentifier": "427597285c94ab5a0fa77e5951",
            "workitemTypeIcon": "code-grey-fill",
            "workitemTypeName": "开发",
            "assignToUser": {
                "account": null,
                "identifier": "ca4b5ef6-441b-4bfa-b1d6-1de6fb1a1e57",
                "realName": "xxx",
                "nickName": "",
                "avatar": "/objects/ajax/default/avatars/5a2Z5p2w",
                "stamp": null,
                "nameEn": null,
                "gender": null,
                "mobile": null,
                "email": "xxx@mail.com",
                "nickNamePinyin": null,
                "realNamePinyin": null,
                "division": null,
                "divisions": null,
                "organizationUserInfo": null,
                "displayNickName": "",
                "displayRealName": "xxx",
                "displayName": "xxx",
                "dingTalkId": null,
                "tbRoleId": "org_guest",
                "isDisabled": false,
                "staffId": "xxx",
                "isDeleted": false
            },
            "createDate": 1749726630000,
            "creator": {
                "account": null,
                "identifier": "ca4b5ef6-441b-4bfa-b1d6-1de6fb1a1e57",
                "realName": "xx",
                "nickName": "",
                "avatar": "/objects/ajax/default/avatars/5a2Z5p2w",
                "stamp": null,
                "nameEn": null,
                "gender": null,
                "mobile": null,
                "email": "xxx@mail.com",
                "nickNamePinyin": null,
                "realNamePinyin": null,
                "division": null,
                "divisions": null,
                "organizationUserInfo": null,
                "displayNickName": "",
                "displayRealName": "xxx",
                "displayName": "xxx",
                "dingTalkId": null,
                "tbRoleId": "org_guest",
                "isDisabled": false,
                "staffId": "E0021234",
                "isDeleted": false
            },
            "workitemStatus": {
                "identifier": "100014",
                "name": "已完成",
                "nameEn": "Done",
                "stageId": 4,
                "workflowStage": {
                    "name": "正常结束",
                    "displayName": "正常结束",
                    "identifier": "4",
                    "position": 100,
                    "nameEn": "done"
                },
                "displayName": "已完成",
                "source": "system",
                "gmtCreate": 1613996161000,
                "creator": null,
                "description": null,
                "modifier": null,
                "gmtModified": null,
                "resourceType": "Workitem",
                "gmtJoin": null,
                "joinId": null,
                "isDeleted": false
            },
            "updateDate": 1749726692000,
            "spaceIdentifier": "5a1295737102f79a8ddd1383ad",
            "spaceName": "MITD-先进控制",
            "fieldValueVOList": [
                {
                    "fieldIdentifier": "79",
                    "fieldFormat": "input",
                    "fieldClassName": "date",
                    "valueList": null,
                    "objectValue": null,
                    "value": "2025-06-12 00:00:00",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "serialNumber",
                    "fieldFormat": "input",
                    "fieldClassName": "string",
                    "valueList": null,
                    "objectValue": null,
                    "value": "ADCS-6231",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "seriousLevel",
                    "fieldFormat": "list",
                    "fieldClassName": "option",
                    "valueList": [
                        {
                            "value": null,
                            "valueEn": null,
                            "displayValue": null,
                            "identifier": null,
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "null",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "sumPlanedLaborHour",
                    "fieldFormat": "input",
                    "fieldClassName": "auto",
                    "valueList": null,
                    "objectValue": null,
                    "value": "12",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "sumActualLaborHour",
                    "fieldFormat": "input",
                    "fieldClassName": "auto",
                    "valueList": null,
                    "objectValue": null,
                    "value": "60",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "80",
                    "fieldFormat": "input",
                    "fieldClassName": "date",
                    "valueList": null,
                    "objectValue": null,
                    "value": "2025-06-12 23:59:59",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "101586",
                    "fieldFormat": "input",
                    "fieldClassName": "float",
                    "valueList": null,
                    "objectValue": null,
                    "value": "12",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "101587",
                    "fieldFormat": "input",
                    "fieldClassName": "float",
                    "valueList": null,
                    "objectValue": null,
                    "value": "60",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "directoryIdentifier",
                    "fieldFormat": "list",
                    "fieldClassName": "option",
                    "valueList": [
                        {
                            "value": null,
                            "valueEn": null,
                            "displayValue": null,
                            "identifier": null,
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "null",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "priority",
                    "fieldFormat": "list",
                    "fieldClassName": "option",
                    "valueList": [
                        {
                            "value": "",
                            "valueEn": "Medium",
                            "displayValue": "",
                            "identifier": "3443a3e7893038cbf33b82af56",
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "3443a3e7893038cbf33b82af56",
                    "workitemIdentifier": null,
                    "position": 3,
                    "level": 4
                },
                {
                    "fieldIdentifier": "c0350c92b0669a1e1f60983aaf",
                    "fieldFormat": "list",
                    "fieldClassName": "string",
                    "valueList": [
                        {
                            "value": null,
                            "valueEn": null,
                            "displayValue": null,
                            "identifier": "单元测试",
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "单元测试",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                }
            ],
            "serialNumber": "ADCS-6231"
        },
        {
            "identifier": "7a7d792f78ce5c3e66d8913e2e",
            "subject": "【测试任务】测试Compare",
            "ownerIdentifier": null,
            "ownerName": null,
            "relationRecordId": "25af02f6f974d9f04e5c85e0fb",
            "relationIdentifier": "ASSOCIATED",
            "category": "Task",
            "gmtCreate": 1749472143000,
            "workitemTypeIdentifier": "427597285c94ab5a0fa77e5951",
            "workitemTypeIcon": "code-grey-fill",
            "workitemTypeName": "xx",
            "assignToUser": {
                "account": null,
                "identifier": "ca4b5ef6-441b-4bfa-b1d6-1de6fb1a1e57",
                "realName": "xx",
                "nickName": "",
                "avatar": "/objects/ajax/default/avatars/5a2Z5p2w",
                "stamp": null,
                "nameEn": null,
                "gender": null,
                "mobile": null,
                "email": "xxx@mail.com",
                "nickNamePinyin": null,
                "realNamePinyin": null,
                "division": null,
                "divisions": null,
                "organizationUserInfo": null,
                "displayNickName": "",
                "displayRealName": "xx",
                "displayName": "xx",
                "dingTalkId": null,
                "tbRoleId": "org_guest",
                "isDisabled": false,
                "staffId": "xx",
                "isDeleted": false
            },
            "createDate": 1749472113000,
            "creator": {
                "account": null,
                "identifier": "ca4b5ef6-441b-4bfa-b1d6-1de6fb1a1e57",
                "realName": "xx",
                "nickName": "",
                "avatar": "/objects/ajax/default/avatars/5a2Z5p2w",
                "stamp": null,
                "nameEn": null,
                "gender": null,
                "mobile": null,
                "email": "xx.sun@email.com",
                "nickNamePinyin": null,
                "realNamePinyin": null,
                "division": null,
                "divisions": null,
                "organizationUserInfo": null,
                "displayNickName": "",
                "displayRealName": "xx",
                "displayName": "xx",
                "dingTalkId": null,
                "tbRoleId": "org_guest",
                "isDisabled": false,
                "staffId": "xx",
                "isDeleted": false
            },
            "workitemStatus": {
                "identifier": "100014",
                "name": "已完成",
                "nameEn": "Done",
                "stageId": 4,
                "workflowStage": {
                    "name": "正常结束",
                    "displayName": "正常结束",
                    "identifier": "4",
                    "position": 100,
                    "nameEn": "done"
                },
                "displayName": "已完成",
                "source": "system",
                "gmtCreate": 1613996161000,
                "creator": null,
                "description": null,
                "modifier": null,
                "gmtModified": null,
                "resourceType": "Workitem",
                "gmtJoin": null,
                "joinId": null,
                "isDeleted": false
            },
            "updateDate": 1749726366000,
            "spaceIdentifier": "5a1295737102f79a8ddd1383ad",
            "spaceName": "MITD-先进控制",
            "fieldValueVOList": [
                {
                    "fieldIdentifier": "79",
                    "fieldFormat": "input",
                    "fieldClassName": "date",
                    "valueList": null,
                    "objectValue": null,
                    "value": "2025-06-09 00:00:00",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "serialNumber",
                    "fieldFormat": "input",
                    "fieldClassName": "string",
                    "valueList": null,
                    "objectValue": null,
                    "value": "ADCS-6213",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "seriousLevel",
                    "fieldFormat": "list",
                    "fieldClassName": "option",
                    "valueList": [
                        {
                            "value": null,
                            "valueEn": null,
                            "displayValue": null,
                            "identifier": null,
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "null",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "sumPlanedLaborHour",
                    "fieldFormat": "input",
                    "fieldClassName": "auto",
                    "valueList": null,
                    "objectValue": null,
                    "value": "36",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "sumActualLaborHour",
                    "fieldFormat": "input",
                    "fieldClassName": "auto",
                    "valueList": null,
                    "objectValue": null,
                    "value": "36",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "80",
                    "fieldFormat": "input",
                    "fieldClassName": "date",
                    "valueList": null,
                    "objectValue": null,
                    "value": "2025-06-11 23:59:59",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "101586",
                    "fieldFormat": "input",
                    "fieldClassName": "float",
                    "valueList": null,
                    "objectValue": null,
                    "value": "36",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "101587",
                    "fieldFormat": "input",
                    "fieldClassName": "float",
                    "valueList": null,
                    "objectValue": null,
                    "value": "36",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "directoryIdentifier",
                    "fieldFormat": "list",
                    "fieldClassName": "option",
                    "valueList": [
                        {
                            "value": null,
                            "valueEn": null,
                            "displayValue": null,
                            "identifier": null,
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "null",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "priority",
                    "fieldFormat": "list",
                    "fieldClassName": "option",
                    "valueList": [
                        {
                            "value": "",
                            "valueEn": "Medium",
                            "displayValue": "",
                            "identifier": "3443a3e7893038cbf33b82af56",
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "3443a3e7893038cbf33b82af56",
                    "workitemIdentifier": null,
                    "position": 3,
                    "level": 4
                },
                {
                    "fieldIdentifier": "c0350c92b0669a1e1f60983aaf",
                    "fieldFormat": "list",
                    "fieldClassName": "string",
                    "valueList": [
                        {
                            "value": null,
                            "valueEn": null,
                            "displayValue": null,
                            "identifier": "单元测试",
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "单元测试",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                }
            ],
            "serialNumber": "ADCS-6213"
        },
        {
            "identifier": "4ae6a939784c6285ce8981e26b",
            "subject": "【开发任务】Compare页面开发",
            "ownerIdentifier": null,
            "ownerName": null,
            "relationRecordId": "e18bd190289dda0c482a3facf8",
            "relationIdentifier": "ASSOCIATED",
            "category": "Task",
            "gmtCreate": 1749471891000,
            "workitemTypeIdentifier": "427597285c94ab5a0fa77e5951",
            "workitemTypeIcon": "code-grey-fill",
            "workitemTypeName": "开发",
            "assignToUser": {
                "account": null,
                "identifier": "ca4b5ef6-441b-4bfa-b1d6-1de6fb1a1e57",
                "realName": "xx",
                "nickName": "",
                "avatar": "/objects/ajax/default/avatars/5a2Z5p2w",
                "stamp": null,
                "nameEn": null,
                "gender": null,
                "mobile": null,
                "email": "xx.sun@email.com",
                "nickNamePinyin": null,
                "realNamePinyin": null,
                "division": null,
                "divisions": null,
                "organizationUserInfo": null,
                "displayNickName": "",
                "displayRealName": "xx",
                "displayName": "xx",
                "dingTalkId": null,
                "tbRoleId": "org_guest",
                "isDisabled": false,
                "staffId": "xx",
                "isDeleted": false
            },
            "createDate": 1749471838000,
            "creator": {
                "account": null,
                "identifier": "ca4b5ef6-441b-4bfa-b1d6-1de6fb1a1e57",
                "realName": "xx",
                "nickName": "",
                "avatar": "/objects/ajax/default/avatars/5a2Z5p2w",
                "stamp": null,
                "nameEn": null,
                "gender": null,
                "mobile": null,
                "email": "xx.sun@email.com",
                "nickNamePinyin": null,
                "realNamePinyin": null,
                "division": null,
                "divisions": null,
                "organizationUserInfo": null,
                "displayNickName": "",
                "displayRealName": "xx",
                "displayName": "xx",
                "dingTalkId": null,
                "tbRoleId": "org_guest",
                "isDisabled": false,
                "staffId": "xx",
                "isDeleted": false
            },
            "workitemStatus": {
                "identifier": "100014",
                "name": "已完成",
                "nameEn": "Done",
                "stageId": 4,
                "workflowStage": {
                    "name": "正常结束",
                    "displayName": "正常结束",
                    "identifier": "4",
                    "position": 100,
                    "nameEn": "done"
                },
                "displayName": "已完成",
                "source": "system",
                "gmtCreate": 1613996161000,
                "creator": null,
                "description": null,
                "modifier": null,
                "gmtModified": null,
                "resourceType": "Workitem",
                "gmtJoin": null,
                "joinId": null,
                "isDeleted": false
            },
            "updateDate": 1749471995000,
            "spaceIdentifier": "5a1295737102f79a8ddd1383ad",
            "spaceName": "MITD-先进控制",
            "fieldValueVOList": [
                {
                    "fieldIdentifier": "79",
                    "fieldFormat": "input",
                    "fieldClassName": "date",
                    "valueList": null,
                    "objectValue": null,
                    "value": "2025-05-30 00:00:00",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "serialNumber",
                    "fieldFormat": "input",
                    "fieldClassName": "string",
                    "valueList": null,
                    "objectValue": null,
                    "value": "ADCS-6212",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "seriousLevel",
                    "fieldFormat": "list",
                    "fieldClassName": "option",
                    "valueList": [
                        {
                            "value": null,
                            "valueEn": null,
                            "displayValue": null,
                            "identifier": null,
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "null",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "sumPlanedLaborHour",
                    "fieldFormat": "input",
                    "fieldClassName": "auto",
                    "valueList": null,
                    "objectValue": null,
                    "value": "40",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "sumActualLaborHour",
                    "fieldFormat": "input",
                    "fieldClassName": "auto",
                    "valueList": null,
                    "objectValue": null,
                    "value": "40",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "80",
                    "fieldFormat": "input",
                    "fieldClassName": "date",
                    "valueList": null,
                    "objectValue": null,
                    "value": "2025-06-03 23:59:59",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "101586",
                    "fieldFormat": "input",
                    "fieldClassName": "float",
                    "valueList": null,
                    "objectValue": null,
                    "value": "40",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "101587",
                    "fieldFormat": "input",
                    "fieldClassName": "float",
                    "valueList": null,
                    "objectValue": null,
                    "value": "40",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "directoryIdentifier",
                    "fieldFormat": "list",
                    "fieldClassName": "option",
                    "valueList": [
                        {
                            "value": null,
                            "valueEn": null,
                            "displayValue": null,
                            "identifier": null,
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "null",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                },
                {
                    "fieldIdentifier": "priority",
                    "fieldFormat": "list",
                    "fieldClassName": "option",
                    "valueList": [
                        {
                            "value": "",
                            "valueEn": "Medium",
                            "displayValue": "",
                            "identifier": "3443a3e7893038cbf33b82af56",
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "3443a3e7893038cbf33b82af56",
                    "workitemIdentifier": null,
                    "position": 3,
                    "level": 4
                },
                {
                    "fieldIdentifier": "c0350c92b0669a1e1f60983aaf",
                    "fieldFormat": "list",
                    "fieldClassName": "string",
                    "valueList": [
                        {
                            "value": null,
                            "valueEn": null,
                            "displayValue": null,
                            "identifier": "编码",
                            "level": null
                        }
                    ],
                    "objectValue": null,
                    "value": "编码",
                    "workitemIdentifier": null,
                    "position": null,
                    "level": null
                }
            ],
            "serialNumber": "ADCS-6212"
        }
    ],
    "msg": "",
    "errorMsg": "",
    "traceId": "d3ea71e798bc4853a92223794e89f374.35521.17512628610829763",
    "errorCode": null
}

result[] contains all parts of this workitem, result[].actualTime in each part shows actual working time in hour related to the part. result[].gmtStart and result[].gmtEnd indicates the start and end timestamp for this working part.