vsts-extensions icon indicating copy to clipboard operation
vsts-extensions copied to clipboard

@CurrentIteration is not working within Templates

Open RichieOpr opened this issue 4 years ago • 1 comments

When I use the @CurrentIteration statement to create a new "task" under a "work Item" states an error. The error is: "Error: TF401347: Invalid tree name given for work item -1, field 'System.IterationPath'.. Please check the template used in this action."

This is when autocration is set. When I remove autocreate I can create new work Items from the template (without current iteration path) and it fills the current iteration path for me. When I set the autocreate again the new tasks are placed on top level iteration creating orphan tasks.

Please help.

Thanks in advance.

RichieOpr avatar Jul 27 '20 09:07 RichieOpr

Duplicate of #25?

cookbr avatar Jan 22 '21 13:01 cookbr