It's all about the answers!

Ask a question

Importing work items mapping to Releases and Iterations?


Scott Chapman (3216547) | asked Oct 01 '10, 3:13 p.m.
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?

3 answers



permanent link
Lorelei Ngooi (1.5k22) | answered Oct 04 '10, 8:58 p.m.
JAZZ DEVELOPER
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.

permanent link
Lorelei Ngooi (1.5k22) | answered Oct 04 '10, 8:58 p.m.
JAZZ DEVELOPER
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.

permanent link
Scott Chapman (3216547) | answered Oct 04 '10, 10:15 p.m.
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.

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.