Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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,

0 votes


Accepted answer

Permanent link
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

0 votes

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

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Aug 24 '15, 12:49 p.m.

Question was seen: 2,617 times

Last updated: Aug 26 '15, 1:28 p.m.

Confirmation Cancel Confirm