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
Problem:
Currently, the Get-WorkItem cmdlet does not respect the connections established by Connect-TfsTeamProject and Connect-TfsTeam. This causes context issues when fetching work items, as users expect Get-WorkItem to utilize the active connections of the previously configured project or team.
Reproduction:
Execute the Connect-TfsTeamProject cmdlet to connect to a specific project.
Execute the Connect-TfsTeam cmdlet to connect to a specific team.
Attempt to fetch work items using Get-WorkItem.
Expected Behavior: Get-WorkItem should respect the connections established by Connect-TfsTeamProject and Connect-TfsTeam, returning work items in the context of the specified project or team.
Current Behavior: Get-WorkItem ignores the established connections and returns work items without considering the connected project or team.
Impact:
This issue prevents users from efficiently working with specific project or team work items, increasing the complexity and time required to perform accurate queries. Worse, it may really to data loss if the user pipes the result of Get-TfsWorkItem to Remove-TfsWorkItems
Proposed Solution:
Modify the implementation of the Get-WorkItem cmdlet to respect the connections established by Connect-TfsTeamProject and Connect-TfsTeam, ensuring that work item queries are performed in the appropriate context.
The text was updated successfully, but these errors were encountered:
Problem:
Currently, the
Get-WorkItem
cmdlet does not respect the connections established byConnect-TfsTeamProject
andConnect-TfsTeam
. This causes context issues when fetching work items, as users expectGet-WorkItem
to utilize the active connections of the previously configured project or team.Reproduction:
Connect-TfsTeamProject
cmdlet to connect to a specific project.Connect-TfsTeam
cmdlet to connect to a specific team.Get-WorkItem
.Expected Behavior:
Get-WorkItem
should respect the connections established byConnect-TfsTeamProject
andConnect-TfsTeam
, returning work items in the context of the specified project or team.Current Behavior:
Get-WorkItem
ignores the established connections and returns work items without considering the connected project or team.Impact:
This issue prevents users from efficiently working with specific project or team work items, increasing the complexity and time required to perform accurate queries. Worse, it may really to data loss if the user pipes the result of Get-TfsWorkItem to Remove-TfsWorkItems
Proposed Solution:
Modify the implementation of the
Get-WorkItem
cmdlet to respect the connections established byConnect-TfsTeamProject
andConnect-TfsTeam
, ensuring that work item queries are performed in the appropriate context.The text was updated successfully, but these errors were encountered: