Check if a workItem's type is 'Feature'

125 views Asked by At

I'm trying to check if a workItem is a feature or not. I don't know what to compare the workItem.Type to in order to do this though.

Anybody know?

1

There are 1 answers

0
Zarocross On BEST ANSWER

Found it!

workItem.Type.Name gives the name of the type. This results in the string "Feature"