It's all about the answers!

Ask a question

how to import multiple 'Related Artifacts' links?


Virginia Brown (9333941) | asked Aug 08 '12, 6:09 p.m.
edited Aug 09 '12, 12:19 a.m. by Ralph Schoon (63.5k33646)
We are migrating ClearQuest attachments to a file share and want to add links to
the new location as 'Related Artifacts' in RTC via the csv importer.

It looks like importing of 'Related Artifacts' was added here but we run into 
trouble trying to add a second link. If the import file has two links, both show
in the results window, but only the last remains attached.

Haven't been able to find any discussion around importing of multiple links.

Ideas? Perhaps some methods besides using importer?

One answer



permanent link
Ralph Schoon (63.5k33646) | answered Aug 09 '12, 12:10 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi, you can use the Plain Java Client Libraries to upload attachments and also to create links to artifacts.

See: https://rsjazz.wordpress.com/2012/08/01/uploading-attachments-to-work-items/

If you want to create references using the API you can use the code in https://jazz.net/forum/questions/11092/help-setting-parentchild-link-through-api you just have to pick the right endpoint.

Comments
Virginia Brown commented Aug 09 '12, 3:30 a.m.

Thanks Ralph, this sounds like a good alternative.

I'll leave this open a bit longer to see what we can find on the state / plans of importer and managing multiple links.

We have a PMR open on this issue and will report back on what I hear

Your answer


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