Skip to content

Conversation

danhellem
Copy link
Contributor

@danhellem danhellem commented Jul 25, 2025

Added stack rank to list of returned fields so that it can be used to re-order a backlog easier

GitHub issue number #349

Associated Risks

None

PR Checklist

  • I have read the contribution guidelines
  • I have read the code of conduct guidelines
  • Title of the pull request is clear and informative.
  • 👌 Code hygiene
  • 🔭 Telemetry added, updated, or N/A
  • 📄 Documentation added, updated, or N/A
  • 🛡️ Automated tests added, or N/A

🧪 How did you test it?

Manual validation and re-ran tests

@danhellem danhellem requested a review from a team as a code owner July 25, 2025 15:08
@danhellem danhellem linked an issue Jul 25, 2025 that may be closed by this pull request
Copy link

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@danhellem danhellem requested a review from Copilot July 25, 2025 15:26
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds the Microsoft.VSTS.Common.StackRank field to the list of fields returned when batch fetching work items by ID. This enhancement enables easier re-ordering of backlogs by providing access to the stack rank information.

  • Added Microsoft.VSTS.Common.StackRank to the fields array in the work item batch fetch functionality
  • Updated corresponding test to reflect the new field inclusion

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/tools/workitems.ts Added StackRank field to the fields array for batch work item retrieval
test/src/tools/workitems.test.ts Updated test expectations to include the new StackRank field

@danhellem danhellem merged commit ca33862 into main Jul 29, 2025
15 checks passed
@danhellem danhellem deleted the users/danhellem/batch-stackrank-1 branch August 13, 2025 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include StackRank on batch fetch results
4 participants