microsoft / microsoft/azure-devops-go-api

Support for Obtaining Job Requests By Pool

Open
#94 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
223
Forks
92
PR merge metrics
No merged PRs in 30d

Description

We have a use case where we need to get a list of all jobs - currently executing or queued for future execution - in a pool on a by-pool basis. We found the following route which provides this information: /distributedtask/pools/{poolId}/jobrequests. This appears to return a collection of TaskAgentJobRequest, which is defined in azuredevops/taskagent.models.go.

Does this API have support for this route endpoint? If not, are there plans to add support for this in the (near) future?

In the meantime, if this endpoint does not exist in the API, other than making the HTTP call directly and unmarshalling into the model ourselves, do you have any recommended path for obtaining this data?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the /distributedtask/pools/{poolId}/jobrequests route and the TaskAgentJobRequest model in azuredevops/taskagent.models.go. Check whether the repository exposes this route through its Azure DevOps API; done means the endpoint is supported or the recommended way to obtain these job requests is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, go
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.