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

Importing work items mapping to Releases and Iterations?

I am having difficulty with the following mappings:
    <attribute sourceId="Product_Area" targetId="com.ibm.team.workitem.attribute.category"/>

<attribute sourceId="ReleaseFoundIn.name" targetId="com.ibm.team.workitem.attribute.release"/>
<attribute sourceId="Project" targetId="com.ibm.team.workitem.attribute.iteration"/>


So, I discovered that RTC will create categories as needed during import which is nice. But the other two don't seem to behave that way. Do I have the mappings setup correctly?

0 votes



3 answers

Permanent link
For the release, use this mapping instead:

<attribute>

and for the iteration:

<attribute>

Here's some information from http://jazz.net/library/LearnItem.jsp?href=content/tech-notes/rational-team-concert-1_0-importing-work-items/index.html:

# Iteration: the attribute type's id is interval for historical reasons. Replace each target id with a path using slashes as separator, starting with the development line's id as the first segment, followed by segments of iteration ids. Look up these identifiers in the properties dialogs of development lines and iterations on the project area editor's Overview page. Iterations are created during import if necessary.

# Release: the attribute type's id is deliverable. A value mapping's target id is a release's name, these can be found on the Releases page of the project area editor. Releases are created during import if necessary.

0 votes


Permanent link
For the release, use this mapping instead:

<attribute sourceId="ReleaseFoundIn.name" targetId="com.ibm.team.workitem.attribute.version"/>

and for the iteration:

<attribute sourceId="Project" targetId="com.ibm.team.workitem.attribute.target" />

Here's some information from http://jazz.net/library/LearnItem.jsp?href=content/tech-notes/rational-team-concert-1_0-importing-work-items/index.html:

# Iteration: the attribute type's id is interval for historical reasons. Replace each target id with a path using slashes as separator, starting with the development line's id as the first segment, followed by segments of iteration ids. Look up these identifiers in the properties dialogs of development lines and iterations on the project area editor's Overview page. Iterations are created during import if necessary.

# Release: the attribute type's id is deliverable. A value mapping's target id is a release's name, these can be found on the Releases page of the project area editor. Releases are created during import if necessary.

0 votes


Permanent link
Thanks! I'll give that a shot!

For the release, use this mapping instead:

<attribute>

and for the iteration:

<attribute>

Here's some information from http://jazz.net/library/LearnItem.jsp?href=content/tech-notes/rational-team-concert-1_0-importing-work-items/index.html:

# Iteration: the attribute type's id is interval for historical reasons. Replace each target id with a path using slashes as separator, starting with the development line's id as the first segment, followed by segments of iteration ids. Look up these identifiers in the properties dialogs of development lines and iterations on the project area editor's Overview page. Iterations are created during import if necessary.

# Release: the attribute type's id is deliverable. A value mapping's target id is a release's name, these can be found on the Releases page of the project area editor. Releases are created during import if necessary.

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: Oct 01 '10, 3:13 p.m.

Question was seen: 4,193 times

Last updated: Oct 01 '10, 3:13 p.m.

Confirmation Cancel Confirm