Query build results filtered by creator
Hi,
I'm trying to read build results for a given user using the reportable REST API /rpt/repository/build?fields=build/buildResult[creator/userId="john_lennon"]/* does not work because apparently "creator/userId" is a non-queryable field. Interestingly, /rpt/repository/build?fields=build/buildResult/creator[userId="john_lennon"]/* works, but then I don't know if there is a way to navigate upwards from there, back to the buildResult. Is there a way to achieve this? Maybe using OSLC instead? |
One answer
https://localhost:9443/ccm/oslc/contexts/project_area_id/workitems?oslc.properties=*&oslc.where=dc:creator=https://localhost:9443/jts/users/contributor_loginThat should work Comments
Christian Romeyke
commented Feb 27 '15, 7:58 a.m.
Hi Argeu,
|
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.
Comments
It's possible to filter by creator using the entire url just like it shows up on the xml file on the attibute createdBy
Thanks for your response, Argeu. Could you please elaborate on this or give a concrete example?
but it fails with "Unsupported type name: com.ibm.team.repository.Contributor".I see no "createdBy" property for buildResult, just "creator". As per your suggestion, I tried
also fails with the familiar "Non Queryable Field: creator/reportableUrl"