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
if(excludePath&&!includeScope&&!includeTeamProject)thrownewArgumentException("excludePath is only valid when either includeScope or includeTeamProject are true");
thrownewArgumentException($"'{Parameters.Get<object>("Project")}' is not a valid project, which is required to execute a saved query. Either supply a valid -Project argument or use Connect-TfsTeamProject prior to invoking this cmdlet.");
Logger.LogWarn($"Your query resulted in {idList.Count} work items, therefore items must be fetched one at a time. This may take a while. For best performance, write queries that return less than 200 items.");
sb.Append(string.Join(" OR ",values.Select(v =>$"([{kvp.Value.Item2}] UNDER '{v}')")));
393
+
sb.Append(string.Join(" OR ",values.Select(v =>$"([{kvp.Value.Item2}] UNDER '{NodeUtil.NormalizeNodePath(v,projectName,includeTeamProject:true,includeLeadingSeparator:false,includeTrailingSeparator:false)}')")));
Ouch! It's been a while since the last release! Sometimes life gets in the way, but I'm back!
6
+
7
+
This release fixes bugs in `Get-TfsWorkItem`, `Get-TfsArea`, `Get-TfsIteration`, `Invoke-TfsRestApi`, `New-TfsTeam` and `Set-TfsTeam`.
8
+
9
+
## Fixes
10
+
11
+
* Fixes [#211](https://github.com/igoravl/TfsCmdlets/issues/211), where `Get-TfsWorkItem` would throw an error when the `-Fields` parameter was "*".
12
+
* Fixes a bug in `Invoke-TfsRestApi` where Azure DevOps APIs whose responses were missing the `content-type` header would throw an error.
13
+
* Fixes a bug in `Get-TfsArea` and `Get-TfsIteration` where team projects containing Regex-reserved characters (such as parentheses) would throw an error. This bug would indirectly affect `New-TfsTeam` and `Set-TfsTeam` due to their reliance on the same underlying class to handle area and iteration paths when creating/updating teams.
14
+
* Fixes a bug in `Get-TfsWorkItem` where the `-AreaPath` and `-IterationPath` parameters would not work when the specified path either started with a backslash or did not contain the team project name.
15
+
* Adds the installed module version to the _Azure DevOps Shell_ startup command to prevent loading an older version of the module when the PSModulePath variable contains an older version of the module listed earlier in the search path.
0 commit comments