It's all about the answers!

Ask a question

How Do You Find AttributeID for Custom RTC Attributes?


Sean Lauren (734) | asked Apr 10 '20, 5:27 p.m.
edited Apr 10 '20, 9:05 p.m.

If, for example, I have custom attribute for my work tickets called "SuperAttributeValue", how do I figure out what to put in place of [attributeId] given the below statement from Jazz' instructions? I've tried putting in "SuperAttributeValue" as the ID, and I've tried making up numbers, but neither results in any values of any kind. So how do I figure out what the real attributeId is?

If requiring code to get the AttributeId list, I need C# code specifically.

"Custom attributes are exposed as: rtc_ext:[attributeId]"

Accepted answer


permanent link
Kot T. (1.5k11319) | answered Apr 13 '20, 6:05 p.m.
JAZZ DEVELOPER

attributeId should be ID of the attribute as specified in the template.


You can use the following URL to get details of a workitem which has the custom attribute you need:
https://<server:port>/ccm/oslc/workitems/<workitem_id>.xml

... where <workitem_id> is ID of a workitem.

The output should include the custom attribute in it.

The following link can be helpful:

Sean Lauren selected this answer as the correct answer

One other answer



permanent link
Ralph Schoon (63.5k33646) | answered Apr 14 '20, 2:10 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Please see https://rsjazz.wordpress.com/2013/01/02/working-with-work-item-attributes/ section

Getting the Work Item’s Attribute ID’s in the UI


Comments
Ralph Schoon commented Apr 14 '20, 2:14 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Also the Work Item Command Line has the

-printtypeattributes 

command to get this information.

Your answer


Register or 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.