Skip to main content
févr. 26, 2026 3:09 PM UTC
Répondu

Retrieving items belonging to a specific baseline using Rest API

Dear Support!

We are using Codebeamer 2.0.0.0

We would like to retrieve all the items of a specific tracker that are associated with a specific baseline using Rest API.

Is this possible?

Can you provide a "URL-template" for this?

 

Thank you in advance!

cristina.bRéponse
mars 5, 2026 4:20 PM UTC

Hello @IV_10178511 ,

 

1. You can use: "GET /v3/trackers/{trackerId}/baselines" endpoint to obtain the list of baselines for each tracker.

2. To get all items in a baseline for a Project, you could use, for example, "GET" or "POST /v3/items/query" in combination with a "baselineId" and "queryString" like e.g. project.id IN (4).

 

Request body example:

{
"baselineId": 1234,
"page": 1,
"pageSize": 50,
"queryString": "priority='Normal'"
}

 

Best Regards,

Cristina

3 commentaires

mars 2, 2026 12:59 PM UTC

An additional question: in case this would not be possible with our current version, can this be done with a higher version of Codebeamer?

Community Manager
mars 5, 2026 3:19 PM UTC

Hi @IV_10178511 

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.

 

Best regards,

cristina.bRéponse
mars 5, 2026 4:20 PM UTC

Hello @IV_10178511 ,

 

1. You can use: "GET /v3/trackers/{trackerId}/baselines" endpoint to obtain the list of baselines for each tracker.

2. To get all items in a baseline for a Project, you could use, for example, "GET" or "POST /v3/items/query" in combination with a "baselineId" and "queryString" like e.g. project.id IN (4).

 

Request body example:

{
"baselineId": 1234,
"page": 1,
"pageSize": 50,
"queryString": "priority='Normal'"
}

 

Best Regards,

Cristina