It's all about the answers!

Ask a question

RTC reportable rest api, request returns blank value for custom attribute


Marinept Villalobos (472131) | asked Oct 05 '16, 4:38 p.m.
Hello,
I'm working with RTC Reportable Rest api (RTC version 5.0.2).
I made a request to see all the custom attributes in allextensions. 
However, one of the custom fields, which is a contributor type field, it returns blank, even if it brings the displayname correctly.
I appreciate any feedback, thanks for your attention.

This is my request:
https://server:9443/ccm/rpt/repository/workitem?fields=workitem/workItem[projectArea/name="projectarea01" and type/id="task" and creationDate>2016-07-01T00:00:00.000-0400 and creationDate<2016-08-01T00:00:00.000-0400]/(id|summary|creationDate|state/name|owner/name|creator/name|resolutionDate|timeSpent|type/id|allExtensions/(displayName|displayValue)|itemHistory/(modified|state/name)))&size=100

One answer



permanent link
Donald Nong (14.5k614) | answered Oct 05 '16, 10:34 p.m.
You should use "allExtensions/(displayName|itemValue/*)" instead of "allExtensions/(displayName|displayValue)", as "displayValue" is not the right choice.

Comments
Marinept Villalobos commented Oct 06 '16, 8:04 a.m.

 Thanks for your comment.

It brings the id of the contributor, along with other data, however not the username, at least.
I guess I should try another way to make the request.



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.