Hi, I am trying to create a process on Requirement object. Whenever they associate the user story to epic , the hierarchy should get updated. I did the first part of adding the user story to the corresponding epic hierarchy. But similarly when I associate the user story to some other epic the hierarchy should get udpated . For investments and Skill associations we have tag isComplete="true" which actually takes care of removing the hierarchy. I tried with the same tag. But it is throwing an error.
Input file
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_requirement.xsd">
<Header action="write" externalSource="NIKU" objectType="requirement" version="14.2.0.237"/>
<requirements>
<requirement object_id="00000080">
<hierarchyLinks >
<link child="00000172" parent="00000080" isComplete="true"/>
</hierarchyLinks>
<dependencies/>
<OBSAssocs complete="false"/>
</requirement>
</requirements>
</NikuDataBus>
Output
------------
<XOGOutput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespace
SchemaLocation="../xsd/status.xsd">
<Object type="requirement"/>
<Status elapsedTime="0.0 seconds" state="FAILURE"/>
<Statistics failureRecords="0" insertedRecords="0" totalNumberOfRecords="0" up
datedRecords="0"/>
<ErrorInformation>
<Severity>FATAL</Severity>
<Description>[Error] :0:0: unexpected attribute "isComplete"
Invalid attribute in input document. Please remove all instances of attr
ibute from document elements and try again.
[Element : link, Attribute : isComplete ].
</Description>
<Exception type="java.lang.Exception">Invalid xml data</Exception>
</ErrorInformation>
</XOGOutput>