Note
We've packed up and moved from Confluence to Discourse to bring you a better, more interactive space. Out of courtesy we didn't migrate your user account so - you will have to signup again
The Exalate team will be on holiday for the coming days - returning Jan 4
Enjoy & stay safe
We try to set the Area Iteration Path in Azure based on the Labels received from Jira on prem. If workItem.labels contains the Tag/label "Cockpit" then it should set the value for iterationPath to "xxx" else its "DGB" set it to "yyy". Unfortuanatly I always get the default path..
Does anyone have a idea what i'm doing wrong?
Many thanks,
Daniel
if (workItem.labels.contains("Cockpit")) {
workItem.iterationPath = "ExtensionTest\\Cockpit"}
else if (workItem.labels.contains("DGB")) {
workItem.iterationPath = "ExtensionTest\\DGB"}
else {
workItem.iterationPath = "ExtensionTest\\Incidents"}