-
Notifications
You must be signed in to change notification settings - Fork 34
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
Cannot update link build to task #19
Comments
Info from a debug run. Changed the config to set the state to completed just in case that was the issue too.
|
A new version has been published with the changes from #20 With this change the extension can also be used in Agile Template projects. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running a CI build using the Agile Template the task throws a NullReferenceException when attempting to link the build to the task.
The CI task is only configured with item type = task and Add Build As Development Link checked. All other options are left as default.
Starting: Link Build to Tasks
==============================================================================
Task : WorkItem Updater
Description : This task allows to update WorkItems linked to the build.
Version : 1.4.716
Author : Blue Basher
Help :
Updating WorkItem 47088
You cannot call a method on a null-valued expression.
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction
2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0) at System.Management.Automation.PSScriptCmdlet.RunClause(Action
1 clause, Object dollarUnderbar, Object inputToProcess)at System.Management.Automation.PSScriptCmdlet.DoEndProcessing()
at System.Management.Automation.CommandProcessorBase.Complete()
Cannot validate argument on parameter 'Result'. The argument "Error updating workitems" does not belong to the set "Succeeded,SucceededWithIssues,Failed,Cancelled,Skipped" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.
The text was updated successfully, but these errors were encountered: