Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

DNG Custom Attribute into RPE Template

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

0 votes



2 answers

Permanent link

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

0 votes

Comments

 That does help, thank you!


I'm able to pull up the data preview and see the values for the custom attributes, but I am unsure of what query to put into my cell that I will do my javascript on.


Permanent link

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.

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 332

Question asked: Jun 02 '17, 9:45 a.m.

Question was seen: 3,424 times

Last updated: Jun 05 '17, 9:06 a.m.

Confirmation Cancel Confirm