It's all about the answers!

Ask a question

How to get mapping of Display Names (labels) of fields/attributes to back-end attribute Id for any workitems using OSLC?


Rishi Sharma (6516) | asked May 15 '17, 10:19 a.m.

 Hi All,


How to get mapping of Display Names (labels) of fields/attributes to back-end attribute Id for any workitem like Defect, issue etc using OSLC/reportable rest APIs?
E.g.
Priority (UI Label) --> rtc_ext:priority (OSLC Element Tag Name)

Please let me know if you want me to elaborate More.

Thanks
Rishi


Comments
Rishi Sharma commented May 15 '17, 10:27 a.m. | edited May 15 '17, 10:33 a.m.

@gdang @rschoon @kszczech @mabu - Please see if you can help

2 answers



permanent link
katherine szczech (112) | answered May 23 '17, 2:57 p.m.

Here is an example provided by Rafik Jaouani:

Note this is for custom attributes, it doesn't seem that you can get the built-in attributes this way, only customer attributes.

Example: https://jazz.net/jazz/rpt/repository/workitem?fields=workitem/projectArea/(name|extensionMetadata/(key|displayName|type|isEnumeration|workItemType/name


permanent link
Donald Nong (14.5k414) | answered May 16 '17, 3:27 a.m.

Just use the "resourceShape". Search it on this forum and you can find many posts, such as this one.
https://jazz.net/forum/questions/173996/how-to-retrieve-allowed-values-for-custom-enumeration-attribute-using-rtc-rest-apis

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.