Search code examples
azure-devopsazure-devops-extensions

Azure devops - edit template with variables


I would like to set a variable in the Value for the field Iteration Path in my azure devops template editor.

I created a Template for a Bug and I want this template to be generated with Iteration Path = Actual Sprint

In green, the value I want to put a variable.

enter image description here

Is there a way to put a variable like : @ActualSprint or $ActualSprint ?


Solution

  • Please check @CurrentIteration as it is written here:

    Items closed during the current sprint (the @CurrentIteration macro references the sprint defined for the current team context)

    enter image description here