Create work item from a template -error
Hello,
we have a customer using CCM 4.0.4. I need to create for them a work item from a template. The template is a User story which has the following particularities: it uses 4 children and 24 Copies. Each of them being actually another user story. The process of creating the template run smoothly and I could save it properly. Nevertheless, when trying to create a new WI from: Work Item/New/Create Work Item from the template I have gotten this error: Cannot create work items specified by the template. Validation errors for item: type=AuditableLink, itemID=[UUID_Iff...]. Value of attribute "targetRef.comment" is 262 bytes, which is greater than the allowed encoded lenghts of 250 bytes. [Link URI Details: Link type id: com.ibm.team.workitem.linktype.copiedworkitem.] I thoughts initially that there is an issue with thie US and I have created a very simple one without any children or links. The same error (only the size is now different for the attribute 300 bytes). I have had a look at the Configuration Data/Work Items/Types and Attributes/ Story but I haven't found any attribute with the name targetRef. Any clue on how to solve this out? Thank you, Zica |
One answer
I have added the xml file from the template created.
Not sure where to look for the Value of attribute "targetRef.comment as I can't found it in this xml file: <?xml version="1.0" encoding="UTF-8"?><rtc_cm:WorkItemTemplate xmlns:rtc_cm="http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/terms/"> <dc:identifier>com.ibm.team.workitem.template1</dc:identifier> <dc:title>Template for UserStories and Child Tasks -Theme 2</dc:title> <dc:description/> <rtc_cm:workItems> <rtc_cm:com.ibm.team.apt.workItemType.story rdf:ID="item0"> <rtc_cm:filedAgainst rdf:resource="Dynamite"/> <dc:subject>|dynamite-theme-2|eoy-2014|</dc:subject> <rtc_cm:plannedFor rdf:resource="/Name_NameTimeline/Name_Name"/> <dc:description>Infos for Details:<br/>Tags: <br/>- specify the timeframe: insight = October release, eoy-2014 = December release<br/>- always specify the theme number: e.g. dynamite-theme-2<br/>Planned for: Dynamite Backlog or the exact sprint e.g. Dynamite Sprint 31<br/><br/>Infos for Description:<br/>Impacted Area (e.g. Console, Managed service, DB2):<br/>Dependencies: if adequate. summarize<br/>Required skills: pls specify within the tasks.<br/>If adequate, create sub-userstories for partial or optional flows.<br/><br/>Tab &quot;Links&quot;: Please attach the Scenario (Design Thinking) - probably in presentation form - to this UserStory<br/></dc:description> <dc:title>Template for: User Story</dc:title> <rtc_cm:subscribers> <rtc_cm:subscribers rdf:resource="X@de.ibm.com"/> </rtc_cm:subscribers> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies rdf:resource="https://server_name/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_D2CzEAEEEeSwTo6-aT7kSA"/> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies rdf:resource="https://server_name/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_zfSAAAEDEeSwTo6-aT7kSA"/> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies rdf:resource="https://server_name/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_md874AD8EeSwTo6-aT7kSA"/> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies rdf:resource="https://server_name/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_PK7Z8AD_EeSwTo6-aT7kSA"/> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies rdf:resource="https://server_name/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_NwJhMAEDEeSwTo6-aT7kSA"/> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies rdf:resource="https://server_name/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_q5GX4AEEEeSwTo6-aT7kSA"/> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies rdf:resource="https://server_name/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_fK7kwAD9EeSwTo6-aT7kSA"/> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies rdf:resource="https://server_name/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_Yi-cgAEBEeSwTo6-aT7kSA"/> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies rdf:resource="https://server_name/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_npKYgAEBEeSwTo6-aT7kSA"/> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies rdf:resource="https://server_name/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_-TBJAAD7EeSwTo6-aT7kSA"/> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies rdf:resource="https://server_name/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_1hly0AD_EeSwTo6-aT7kSA"/> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies rdf:resource="https://server_name/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_0AglIAEAEeSwTo6-aT7kSA"/> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies rdf:resource="https://server_name/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_agJMcAEEEeSwTo6-aT7kSA"/> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies rdf:resource="https://server_name/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_dBY2oAEDEeSwTo6-aT7kSA"/> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies rdf:resource="https://server_name/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_x7nDQAECEeSwTo6-aT7kSA"/> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies rdf:resource="https://server_name/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_kegsUAD_EeSwTo6-aT7kSA"/> <rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies rdf:resource="https://server_name/jazz/resource/itemOid/com.ibm.team.workitem.WorkItem/_A87foAD-EeSwTo6-aT7kSA"/> </rtc_cm:com.ibm.team.workitem.linktype.copiedworkitem.copies> </rtc_cm:com.ibm.team.apt.workItemType.story> <rtc_cm:task rdf:ID="item1"> <rtc_cm:filedAgainst rdf:resource="Dynamite"/> <dc:subject>|dynamite-theme-2|eoy-2014|</dc:subject> <rtc_cm:plannedFor rdf:resource="/Name_NameTimeline/Name_Name"/> <dc:description>This is a placeholder for the QA tasks related to a User Story e.g. Create testplan, execute Testcase review etc.</dc:description> <dc:title>Template for: Task for QA</dc:title> <rtc_cm:subscribers> <rtc_cm:subscribers rdf:resource="X@de.ibm.com"/> </rtc_cm:subscribers> <rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.parent rdf:resource="#item0"/> </rtc_cm:task> <rtc_cm:task rdf:ID="item2"> <rtc_cm:filedAgainst rdf:resource="Dynamite"/> <dc:subject>|dynamite-theme-2|eoy-2014|</dc:subject> <rtc_cm:plannedFor rdf:resource="/Name_NameTimeline/Name_Name"/> <dc:description>Please describe the ID (Information Development) work that needs to be done by dev &amp; ID person.</dc:description> <dc:title>Template for: Task for ID</dc:title> <rtc_cm:subscribers> <rtc_cm:subscribers rdf:resource="X@de.ibm.com"/> </rtc_cm:subscribers> <rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.parent rdf:resource="#item0"/> </rtc_cm:task> <rtc_cm:task rdf:ID="item3"> <rtc_cm:filedAgainst rdf:resource="Dynamite"/> <dc:subject>|dynamite-theme-2|eoy-2014|</dc:subject> <rtc_cm:plannedFor rdf:resource="/Name_NameTimeline/Name_Name"/> <dc:description>Please open further tasks for developement if adequate.<br/><br/>Info Description:<br/>Skill required: <br/>Task(s) for engineering:<br/></dc:description> <dc:title>Template for: Task for Development</dc:title> <rtc_cm:subscribers> <rtc_cm:subscribers rdf:resource="X@de.ibm.com"/> </rtc_cm:subscribers> <rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.parent rdf:resource="#item0"/> </rtc_cm:task> <rtc_cm:task rdf:ID="item4"> <rtc_cm:filedAgainst rdf:resource="Dynamite"/> <dc:subject>|dynamite-theme-2|eoy-2014|</dc:subject> <rtc_cm:plannedFor rdf:resource="/Name_NameTimeline/Name_Name"/> <dc:description>This is the task that is to be done by another hill, on which this User-Story is dependant.<br/><br/>Infos for Details:<br/>- Owner (e.g. Hill owner who will assign to developers)<br/>- Tags: dynamite-theme-X<br/>- Due Date: when is the latest delivery date <br/><br/>Infos for Description:<br/>Please explain the dependency.<br/><br/>Tab &quot;Links&quot;:<br/>Please add the &quot;Related&quot; user story or task <br/></dc:description> <dc:title>Template for: Task for Dependency</dc:title> <rtc_cm:subscribers> <rtc_cm:subscribers rdf:resource="X@de.ibm.com"/> </rtc_cm:subscribers> <rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.parent rdf:resource="#item0"/> </rtc_cm:task> </rtc_cm:workItems> </rtc_cm:WorkItemTemplate> |
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.
Comments
My guess is that the problem is the
I don't know what is considered the 'comment' variable. the template XML has a group of copies elements inside a copies element.