ExportInsightSprint

Updated at:

Retrieves the sprint data for a specified organization in DevOps Insights.

Operation description

The DevOps Insights data export API is available only to Premium Edition customers. To learn more about the features of Apsara DevOps Premium 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/sprints HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

organizationId

string

Yes

The organization ID. It is a string that can be obtained from the Apsara DevOps 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. 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 number of entries.

100

nextToken

string

The token for the next page. A value of null indicates that no more pages are available.

2

maxResults

integer

The number of returned entries.

10

result

array<object>

The returned results.

object

sprint

gmtCreate

integer

The time when the record was created.

1710989643000

id

integer

The auto-increment ID of the record.

18471761

gmtModified

integer

The time when the record was updated.

1711936113000

identifier

string

The unique identifier.

e4895cadc86632f34dfaa7xxxx

isDeleted

string

Indicates whether the record is deleted. Valid values: Y and N.

N

organizationId

string

The organization ID.

61db9af2148974246bexxxx

gmtEnd

integer

The planned end time of the sprint.

1711728000000

gmtStart

integer

The planned start time of the sprint.

1711936113000

actualStart

integer

The actual start time.

1711936113000

actualEnd

integer

The actual end time.

1711936113000

name

string

The sprint name.

Sprint 0601

source

string

The source.

projex

projectId

string

The project ID.

385e7e5a4be6791f0a5185xxxx

workTimeCapacity

number

The work hour capacity assessment field.

60.0

status

integer

The sprint status. Valid values: 10 (Pending), 50 (In progress), and 100 (Completed/Closed).

50

Examples

Success response

JSON format

{
  "totalCount": 100,
  "nextToken": "2",
  "maxResults": 10,
  "result": [
    {
      "gmtCreate": 1710989643000,
      "id": 18471761,
      "gmtModified": 1711936113000,
      "identifier": "e4895cadc86632f34dfaa7xxxx",
      "isDeleted": "N",
      "organizationId": "61db9af2148974246bexxxx",
      "gmtEnd": 1711728000000,
      "gmtStart": 1711936113000,
      "actualStart": 1711936113000,
      "actualEnd": 1711936113000,
      "name": "迭代0601",
      "source": "projex",
      "projectId": "385e7e5a4be6791f0a5185xxxx",
      "workTimeCapacity": 60,
      "status": 50
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.