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

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

 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

0 votes

Comments

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



2 answers

Permanent link

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

0 votes


Permanent link

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

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
× 10,934
× 7,494

Question asked: May 15 '17, 10:19 a.m.

Question was seen: 3,906 times

Last updated: May 23 '17, 2:57 p.m.

Confirmation Cancel Confirm