Is it possible to programmatically create a work item in a seperate Project Area
![]()
derry davis (232●2●19●16)
| asked Jun 25 '12, 4:13 p.m.
edited Jun 25 '12, 4:42 p.m. by Seth Packham (1.4k●3●22●13)
Is it possible to programmatically create a work item via the process adviser and/or OSLC from one project area, say A, into another project area, say B.
Assumptions are that the user has proper access to both project areas and that the work item creation is trigger upon save of a 'parent' work item. A possible scenario we have is: Story work items have child task work items. A project manager creates a story work item that has several child tasks related to it. Project manager wants to be able to select an user (or list of users) for which tasks will be generated and linked to the story. These tasks may be in another project area. Thanks in advance. Derry |
2 answers
![]()
It is possible to Create work item programmatic in any project area. In Server side plugin, CreateWorkItemw2 method will get the type of the work item as parameter. that will decide in which area that work item should get created.
Regards Muthukumar.C |