How to copy existing work item to create a new item via Java RTC Plain API?
![]() Hi, I am working on a project which requires me to automate a work item creation process. The new work item's attributes and values is base on old work item except one attribute. Does anyone knows how to do a copy of work item?
Thanks, |
Accepted answer
![]()
Terry,
I found this item on developerworks helpful as a starting point for writing your own tool: https://www.ibm.com/developerworks/community/blogs/extendingrtc/entry/duplicate-workitem?lang=en_us Terry Ho selected this answer as the correct answer
Comments Hi Bill, thanks for the hint. I will check it out. Hi Bill, I just went there but somehow the page didn't have explaination and didn't show any example. Can you advise? thanks. Hi Terry, the page has two code snippets on it. The first snippet details two methods: duplicateWorkItem and copyAttrValues. Hopefully can see this in your browser. It's not a full, working example, but may be enough to get you started.
|
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.