Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-VSTeamWIQL #314

Closed
jhoneill opened this issue May 14, 2020 · 1 comment
Closed

Get-VSTeamWIQL #314

jhoneill opened this issue May 14, 2020 · 1 comment
Labels
bug when a bug has been identified or filed enhancement Improvements that do not include new features

Comments

@jhoneill
Copy link
Contributor

Steps to reproduce

Get-VSTeamWiql -Id 'Assigned to me' -Expand | select -expand workitems | ft

Expected behavior

Should allow tab completion of the query name, and show work items table

Actual behavior

Prompts for team, No tab expansion. 
$wiql           = @"
SELECT   [System.Id], [System.WorkItemType], [System.Title], [System.CreatedBy], [System.AssignedTo], [System.State], [System.Tags]
FROM      WorkItemLinks 
WHERE (  [System.Links.LinkType] = 'System.LinkTypes.Hierarchy-Forward')
ORDER BY [System.Id] DESC 
MODE  (   MayContain)
"@    
$w              = Get-VSTeamWiql -Query $wiql -Expand

Expected behavior

$w contains results of the query. 

Actual behavior

Errors on expand

PR in the pipeline for this

@jhoneill jhoneill mentioned this issue May 14, 2020
1 task
@SebastianSchuetze SebastianSchuetze added bug when a bug has been identified or filed enhancement Improvements that do not include new features labels May 15, 2020
@SebastianSchuetze
Copy link
Collaborator

close this sice it should be fixed with PR #315

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug when a bug has been identified or filed enhancement Improvements that do not include new features
Projects
None yet
Development

No branches or pull requests

2 participants