mohitbagra / vsts-extensions

Repo holding all my VSTS extensions
MIT License
46 stars 30 forks source link

@CurrentIteration is not working within Templates #80

Open RichieOpr opened 4 years ago

RichieOpr commented 4 years ago

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.

cookbr commented 3 years ago

Duplicate of #25?