I've managed to programmatically create a code review WorkItem and then some code review response as children WorkItems. The code review with the desired reviewers shows up if I manually navigate to My Work and then to the particular reviews. What I'd like to do is invoke NavigateToPage to have the Team Explorer go to that page once it's created, and it seems this is close:
ITeamExplorerPage page = teamExplorer.NavigateToPage(new Guid(TeamExplorerPageIds.ViewCodeReview),null);
But the null is wrong, VS complains that it doesn't have the right context. I've tried several options, including passing the WorkItem that forms the code review, but to no avail.
There's a similar query here but it's also not answered:
http://stackoverflow.com/questions/27403564/open-find-shelvesets-page-for-specified-user
Any suggestions as to what object to plug into that to supply the context that would refer to the code review workitem?