Is it possible to create nested attributes in DNG?
Hi Jazz community,
I am using DNG 6.0.6. In my old project, there are 20+ artifact types in a module and each artifact type has 3 to 5 attributes, and most of these attributes are list types. Some of the artifacts from this module have to be used in another module along with some requirements.
This way of organization is overblown and I am looking for any possibility to simplify the number of artifact types by replacing them with related/nested attributes.
Can someone confirm, if possible, how to use the attributes in levels?
Any other recommendations are also appreciated. Thanks !
Accepted answer
One other answer
Hello Ravi,
Not sure if this helps, but you can change the artifact type of your requirements and in this way bring down the number of artifact types.
Of course you do not want the attribute information to get lost in the process, so before changing the artifact type from, lets say, typeA to typeB, you would first need to go into the project/component properties, and check of there are attributes that are listed below artifact typeA but not below typeB. And then add these attributes to typeB as well.
So now all attributes that are assigned to typeA are now also assigned to typeB.
Now you could safely change the artifacts of your requirements from typeA to typeB, without loss of attribute values.
For completeness sake:
You write there are artifacts that reside in different modules. These will always have the same attribute values in all modules, because the attributes are owned by the base(core) artifact. Not to the module-based artifact.