It's all about the answers!

Ask a question

Finding a work item by its name


Paul B (21213) | asked Sep 17 '15, 3:48 a.m.
Hi All,

I need to know how to find an work item by its name. I know how to find one by its ID using the IWorkItemService, but it doesn't have a method to find one by its name. If someone could be kind enough to show me how that's done I'd be very appreciative.

Thanks


Comments
sam detweiler commented Sep 17 '15, 6:45 a.m. | edited Sep 17 '15, 10:42 a.m.

a workitem doesn't have a 'name', it has a summary text field.


Paul B commented Sep 17 '15, 7:11 a.m.

So what service do i need to  iterate through the list of stored work items?

One answer



permanent link
sam detweiler (12.5k6195201) | answered Sep 17 '15, 7:25 a.m.
see this for starters
https://rsjazz.wordpress.com/2012/10/29/using-work-item-queris-for-automation/

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.