Skip to main content

List sprint work items

Return the ids of the work items planned in a sprint; read details with Get work item or Query work items.

Command in the Azure DevOps toolkit · id ooa.azure_devops/list_iteration_work_items · 5 inputs (4 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Organization address (URL)StringYesOrganization or collection address, e.g. https://dev.azure.com/contoso, or https://devops.contoso.local/tfs/DefaultCollection for Azure DevOps Server.
Personal access tokenCredentialYesPersonal access token from the vault, with the scopes this action needs (e.g. Work Items read and write); a Microsoft Entra ID token works too. Or leave it empty and choose a connection that signs in, which gets and renews the token.
ProjectStringYesProject name, e.g. Finance Portal.
TeamStringNoTeam name. Empty uses the project's default team.
Iteration IDStringYesSprint id (a GUID) from List sprints.

Outputs​

OutputTypeWhat it is
idsListWork item ids in the sprint.
countNumberNumber of work items.