Calling Work Item Template Invocation from Code
![]()
Does anyone have a code sample that shows how I could programatically create work items from a work item template? We would like to be able to set more fields than just "Filed Against" and "Planned For."
Thanks, Gary |
3 answers
![]()
and why do you think you can only set those fields?
here is one of my java client code sections that creates a new workitem. this is called from a web service, passing the parameters from another system. You build a map of all the fields and values, and 'save that' with the new workitem. (the synchrule stuff is due to the internal processing my handler provides). if(!TeamPlatform.isStarted()) |
![]()
Thanks for the reply.
I don't want to programmatically create just a work item, but several work items via an existing work item template. Right now, those are the only two "variable" fields that can be set when creating from a work item template. Any idea on how to do this? Thanks. Gary |
![]()
sorry, no.. haven't played with templates at all.
|
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.