I would like to create a mapping file, supported by a snippet, so that I can import every requirement in codebeamer to medini as goal. I always fail with the js file. could you give me an example, how I can do this?
Sven
Hello Sven,
could you be a bit more precise on the use case? In fact, you do not necessarily need a "selector" JS script to map requirements to Goals. You only need that if you want to map some requirements to requirements and others to goals for example. Anyway, there are currently only 3 hoosks:
Just an example which dump each element that is imported to script console:
<typeMappings mediniType="SafetyRequirement" mappedType="item" mappedSelector="/* $EXPERIMENTAL$ */ load('codebeamer.js'); dump(element); true;"> <attributeMappings mediniAttribute="name" mappedAttribute="Summary"/> <attributeMappings mediniAttribute="description" mappedAttribute="Description"/> </typeMappings>
Regards
Jan