Skip to content

Commit a43a773

Browse files
authored
Add closedDate to trimmed pull request data (Issue #709) (#733)
Add closedDate to trimmed pull request data ## GitHub issue number Fixes #709 ## **Associated Risks** None ## ✅ **PR Checklist** - [x] **I have read the [contribution guidelines](https://github.com/microsoft/azure-devops-mcp/blob/main/CONTRIBUTING.md)** - [x] **I have read the [code of conduct guidelines](https://github.com/microsoft/azure-devops-mcp/blob/main/CODE_OF_CONDUCT.md)** - [x] Title of the pull request is clear and informative. - [x] 👌 Code hygiene - [x] 🔭 Telemetry added, updated, or N/A - [x] 📄 Documentation added, updated, or N/A - [x] 🛡️ Automated tests added, or N/A ## 🧪 **How did you test it?** Manually tested
1 parent 53a2db3 commit a43a773

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/repositories.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ function trimPullRequest(pr: GitPullRequest, includeDescription = false) {
124124
uniqueName: pr.createdBy?.uniqueName,
125125
},
126126
creationDate: pr.creationDate,
127+
closedDate: pr.closedDate,
127128
title: pr.title,
128129
...(includeDescription ? { description: pr.description ?? "" } : {}),
129130
isDraft: pr.isDraft,

0 commit comments

Comments
 (0)