ExportInsightWorkitemStatusJoinWorkitemDefectExtra

Updated at:

Retrieves data from the workitem_status table joined with the workitem_defect_extra table for a specified organization in Efficiency Insights.

Operation description

The Efficiency Insights data export API is available only to Advanced Edition customers. For more information about the features of Yunxiao Advanced Edition, visit https://help.aliyun.com/document_detail/173288.html.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /organization/{organizationId}/data/workitemStatusJoinWorkitemDefectExtras HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

organizationId

string

Yes

The organization identifier, also known as the enterprise ID. This string value can be obtained from the Yunxiao 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. Specify the time in the YYYY-MM-DD HH:mm:ss format.

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. Specify the time in the YYYY-MM-DD HH:mm:ss format.

2024-06-01 00:00:00

nextToken

string

No

The token for the next page.

1

maxResults

integer

No

The maximum number of results to return.

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 there is no next page.

2

maxResults

integer

The maximum number of returned entries.

10

result

array<object>

The returned results.

object

workitem_status join workitem_defect_extra

id

integer

The auto-increment ID of the record.

701615370

gmtCreate

integer

The time when the record was created.

1713430241000

gmtModified

integer

The time when the record was updated.

1714755985000

workitemId

string

The ID of the work item.

636f661a612a945bbcdb4cxxxx

isDeleted

string

Indicates whether the record is deleted.

N

organizationId

string

The ID of the enterprise.

61db9af2148974246bexxxx

assignedToId

string

The ID of the assignee.

65e836b981d758be7a25xxxx

creatorId

string

The ID of the creator.

65e836b981d758be7a25xxxx

gmtClosed

integer

The actual time when the work item was closed.

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 record is archived.

N

isDone

string

Indicates whether the work item is completed.

Y

parentId

string

The ID of the parent work item.

a80a203a9078a7a1b1f2c6xxxx

participantIds

string

The IDs of the participants, separated by commas.

6135b21fb383ef39551cf02e,63466a385dc8531eebd764e9

phase

integer

The major phase of the work item. Valid values: 10 to 100, which correspond to to-do, doing, and done.

10

stage

integer

The minor stage of the work item. Valid values: 10 to 100, which correspond to stages in Projex such as confirmation, analysis, processing, design, and development.

10

priority

integer

The priority of the work item. Valid values: 0 to 9.

2

productId

string

The ID of the product.

None

projectId

string

The ID of the project.

6732a29d846bf998dc09e7xxxx

source

string

The source of the work item, such as Teambition or Projex.

projex

sprintId

string

The ID of the iteration.

731c83a40bbf3c2f080e07xxxx

status

string

The name of the status.

Pending

statusId

string

The ID of the status.

100005

storyPoint

number

The story points of the work item.

10.0

subject

string

The subject of the work item.

Test

type

integer

The major type of the work item, such as requirement, task, or 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 spent on the work item, in minutes.

10

expectedWorkTime

integer

The expected work hours for the work item, in minutes.

10

versions

string

The versions associated with the work item.

{6a8cdda167415bea1506c7262c}

extraId

integer

The auto-increment ID in the extra table.

123

foundPhase

integer

The discovery phase (10-100).

10

gmtFixed

string

The actual fix time in seconds.

None

isStupid

string

Indicates whether the issue is a low-level error (Y|N).

None

reopenNum

integer

The number of times the issue was reopened.

0

seriousLevel

integer

The severity level (0-9).

1

solution

string

The type of resolution.

None

extraIsDeleted

string

Indicates whether the extra field is deleted or archived. Valid values: Y (deleted or archived) and N (normal).

N

verifierId

string

The ID of the verifier.

65e836b981d758be7a25xxxx

serialNumber

integer

The serial number within the workspace.

66

Examples

Success response

JSON format

{
  "totalCount": 100,
  "nextToken": "2",
  "maxResults": 10,
  "result": [
    {
      "id": 701615370,
      "gmtCreate": 1713430241000,
      "gmtModified": 1714755985000,
      "workitemId": "636f661a612a945bbcdb4cxxxx",
      "isDeleted": "N",
      "organizationId": "61db9af2148974246bexxxx",
      "assignedToId": "65e836b981d758be7a25xxxx",
      "creatorId": "65e836b981d758be7a25xxxx",
      "gmtClosed": 33166339200000,
      "gmtTodo": 33166339200000,
      "gmtDue": 33166339200000,
      "gmtStart": 33166339200000,
      "isArchived": "N",
      "isDone": "Y",
      "parentId": "a80a203a9078a7a1b1f2c6xxxx",
      "participantIds": "6135b21fb383ef39551cf02e,63466a385dc8531eebd764e9",
      "phase": 10,
      "stage": 10,
      "priority": 2,
      "productId": "None",
      "projectId": "6732a29d846bf998dc09e7xxxx",
      "source": "projex",
      "sprintId": "731c83a40bbf3c2f080e07xxxx",
      "status": "Pending",
      "statusId": "100005",
      "storyPoint": 10,
      "subject": "Test",
      "type": 1,
      "subType": "9uy29901re573f561d69xxxx",
      "versionId": "None",
      "workTime": 10,
      "expectedWorkTime": 10,
      "versions": "{6a8cdda167415bea1506c7262c}\n",
      "extraId": 123,
      "foundPhase": 10,
      "gmtFixed": "None",
      "isStupid": "None",
      "reopenNum": 0,
      "seriousLevel": 0,
      "solution": "None",
      "extraIsDeleted": "N",
      "verifierId": "65e836b981d758be7a25xxxx",
      "serialNumber": 66
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.