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

Fetch all RTC Defects for one project area filtering by status with OSLC / Rest API ?

 Hi


Is it possible to get all RTC defects by oslc or rest api? And is it possible to filter them by status, too? 
I don't find anything and getting crazy, because I am sure this function must be available ... 

Thanks a lot,
Dani

0 votes


Accepted answer

Permanent link

 Have you looked at the Reportable Rest API? https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI#workitem

Dani Simon selected this answer as the correct answer

1 vote

Comments

thank a lot, this was the hint I needed to get! 


I've solved it this way now:
https://server/ccm/rpt/repository/workitem?fields=workitem/workItem[type/id=com.ibm.team.workitem.workItemType.defect and state/id!=com.ibm.team.workitem.defectWorkflow.state.done and projectArea/name="ourProjName"]/(id|type/name|state/name|state/id|summary)


2 other answers

Permanent link

You might also look at OSLC query for work items.

1 vote


Permanent link

 There are a number of ways:


1. Create a EWM stored query and getting the results using a URL such as https://jazz.net/jazz/oslc/queries/{queryId}/rtc_cm:results. 

2. Use an OSLC query 

3. Create a JRS query with Report Builder and access the results using either the LQE SPARQL endpoint: https://{host}:{port}/lqe/sparql or the LQE datasrouce URL available from the Export as Microsoft Excel page.

4. Use the EWM reportable REST API.

I find the EWM stored query approach very easy and convenient. But I also use OSLC query and JRS report datasource URLs a lot too depending on what I'm trying to query.


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,935
× 515
× 62
× 32

Question asked: Jan 11 '21, 9:57 a.m.

Question was seen: 2,285 times

Last updated: Jan 13 '21, 9:13 a.m.

Confirmation Cancel Confirm