Check if a workItem's type is 'Feature'

177 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 best solutions below

0
On BEST ANSWER

Found it!

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