How to copy a work item and create a new work item from RTC participant ?
Hi, I am working on a project where i have to create exact copies of the work item when save button is clicked. I understand that it needs to be done through a participant. Please help me out with the server APIs to get this done. Any help is much appreciated.
I have tried below link and there's no code sample, seems like it was removed.
Thanks in advance.
Accepted answer
Several participant examples can be found here https://rsjazz.wordpress.com/?s=participant&submit=Search
Work item API can be found here: https://rsjazz.wordpress.com/?s=work+item+server+api&submit=Search
More related api is here:https://rsjazz.wordpress.com/?s=work+item+attributes&submit=Search I am not sure there is a duplicate work item in the common or server API so you could readily use it. You can search the SDK though.
You can iterate the attributes and copy them/set the attribute in the copy relatively easily, if the work items are all in the same project area though.
Comments
1 vote