You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
List PRs created by specific user (Issue 424) (#437)
List PRs created by specific user. Also refactoring some code (moving
some user related util functions to `auth.ts`), and adding auth-related
tests.
## GitHub issue number
Fixes#424
## **Associated Risks**
/
## ✅ **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?**
Added tests and executed them. Manually tested the tool.
top: z.number().default(100).describe("The maximum number of pull requests to return."),
271
271
skip: z.number().default(0).describe("The number of pull requests to skip."),
272
272
created_by_me: z.boolean().default(false).describe("Filter pull requests created by the current user."),
273
+
created_by_user: z.string().optional().describe("Filter pull requests created by a specific user (provide email or unique name). Takes precedence over created_by_me if both are provided."),
273
274
i_am_reviewer: z.boolean().default(false).describe("Filter pull requests where the current user is a reviewer."),
top: z.number().default(100).describe("The maximum number of pull requests to return."),
342
358
skip: z.number().default(0).describe("The number of pull requests to skip."),
343
359
created_by_me: z.boolean().default(false).describe("Filter pull requests created by the current user."),
360
+
created_by_user: z.string().optional().describe("Filter pull requests created by a specific user (provide email or unique name). Takes precedence over created_by_me if both are provided."),
344
361
i_am_reviewer: z.boolean().default(false).describe("Filter pull requests where the current user is a reviewer."),
0 commit comments