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

How to import ClearQuest records with history and links

Hi

We are currently migrating from CQ to RTC, and met an issue with importing records with history and/or links to related records. In these cases, a straight forward query made in the CQ query editor, for returning all required fields for import, results in a complex query with several JOINs, ultimately returning "duplicate" CQ records - one line/record for each combination of history and links.

Clearly, this is not desireable for importing into RTC, where you want unique records with their history from CQ intact, as well as links to related work items.

Is there a way to create a CQ query that returns the history and links in another format that can be managed as desired during import? Or another "recipe" for handling this challenge?

Any help deeply appreciated :)

Kind regards,
Trond

0 votes



2 answers

Permanent link
What I did was write a perl script which went through each defect, and went through each of the history records and serialized them into a human readable text string. I then added thatas a note to the record.

I did this before I did the export into RTC.

Not perfect, but good enough.

Hi

We are currently migrating from CQ to RTC, and met an issue with importing records with history and/or links to related records. In these cases, a straight forward query made in the CQ query editor, for returning all required fields for import, results in a complex query with several JOINs, ultimately returning "duplicate" CQ records - one line/record for each combination of history and links.

Clearly, this is not desireable for importing into RTC, where you want unique records with their history from CQ intact, as well as links to related work items.

Is there a way to create a CQ query that returns the history and links in another format that can be managed as desired during import? Or another "recipe" for handling this challenge?

Any help deeply appreciated :)

Kind regards,
Trond

0 votes

Comments

Hi Scott,

Is it ok to share your perl script?

Thanks in advance

Frank


Permanent link
I was going to ask how you planned to map the "historical info" since the CQ Import wizard does not support it being mapped to work item history. Scott's suggestion of importing that as a note sounds like a reasonable approach.

0 votes

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

Question asked: Sep 29 '10, 2:43 a.m.

Question was seen: 6,573 times

Last updated: Jan 20 '13, 10:58 p.m.

Confirmation Cancel Confirm