The PTC Community is on temporary read only status in preparation for moving our community to a new platform. Learn more here
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!
Solved! Go to Solution.
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
An additional question: in case this would not be possible with our current version, can this be done with a higher version of Codebeamer?
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,
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
