DNG Custom Attribute into RPE Template
![](http://jazz.net/_images/myphoto/1afaef0a79ce03293b429fec96574625.jpg)
Hello all.
I am trying to make an RPE template that captures test cases and requirements, as well as a custom attribute attached to the requirements in DNG. I see the DNG custom attribute selection, but I am confused on how to get my specific custom attribute, as that is not an option.
All help is greatly appreciated.
Thank you in advance,
Dylan Mansour
2 answers
![](http://jazz.net/_images/myphoto/1afaef0a79ce03293b429fec96574625.jpg)
Hi Dylan,
Does this help? https://jazz.net/forum/questions/217228/how-do-you-retrieve-data-from-a-custom-attribute-in-rpe-from-dng.
If you need a specific custom attribute from the entire list, you should add a condition using javascript in RPE template.
Regards,
Kumar
![](http://jazz.net/_images/myphoto/1afaef0a79ce03293b429fec96574625.jpg)
Since you know the custom attribute name, you can add a filter on dataSource/artifact/collaboration/attributes/objectType/customAttribute/name and print the corresponding dataSource/artifact/collaboration/attributes/objectType/customAttribute/value.You need not use JavaScript. Just add a Data filter on query dataSource/artifact/collaboration/attributes/objectType/customAttribute.