Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I view all Git pull requests across repositories in TFS?

I'm managing a team that works in many Git repositories in TFS. We are having a difficult time keeping track of pull requests in TFS. I was hoping to query all repos' pull requests so i could see the status of each. Is there a way to do this within TFS or VS? If not, is there a way to do this with other Git tools?

like image 918
Trevor Avatar asked Jun 05 '15 18:06

Trevor


People also ask

How do I see all pull requests?

You can also find pull requests that you've been asked to review. At the top of any page, click Pull requests or Issues. Optionally, choose a filter or use the search bar to filter for more specific results.

Does TFS have pull requests?

Using Pull Requests is built in to TFS and Visual Studio. Pull requests is a mechanism where you explicitly ask the server to merge your changes (commits) into a target branch.


2 Answers

I needed to get all pull requests from our project across 275-ish repo's. So, I made a little app! Here's the link to my code on GitHub. It's yours! Hope you find it useful!

like image 60
Sierpinski Avatar answered Oct 25 '22 10:10

Sierpinski


No. And no.

But you could write a program that query the TFS rest api for pull requests to list them.

You will have to query all the existing projects and for each project, the pull requests and display that.

Ps: using the json newtonsoft library could help you a lot to do that...

like image 34
Philippe Avatar answered Oct 25 '22 09:10

Philippe