Importing work items mapping to Releases and Iterations?
I am having difficulty with the following mappings:
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?
<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
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.
<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.
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.
<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.
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.