Hi Brett,
You can gather that information from the ObjectID attribute returned from a project query
https://rally1.rallydev.com/slm/webservice/v2.0/project?query=(Name = "Sample Project")&fetch=ObjectID
Results in a response as follows:
{
"QueryResult": {
"Errors": [],
"PageSize": 20,
"Results": [
{
"ObjectID": 198278166556,
"_objectVersion": "2",
"_rallyAPIMajor": "2",
"_rallyAPIMinor": "0",
"_ref": "https://rally1.rallydev.com/slm/webservice/v2.0/project/198278166556",
"_refObjectName": "Sample Project",
"_refObjectUUID": "75b17c81-d104-4b56-8ca8-1f9c61387d80",
"_type": "Project"
}
],
"StartIndex": 1,
"TotalResultCount": 1,
"Warnings": [],
"_rallyAPIMajor": "2",
"_rallyAPIMinor": "0"
}
}
Original Message:
Sent: 10-09-2019 02:32 PM
From: Brett Austin
Subject: Rally API Project ID Identification
Hello!
I want to create an API interface to pull Epics, Sub-Epics, Features, and User Stories from a specific Workspace and Project.
Notes:
1. I have access to multiple workspaces for my org
2. I have access to our organizations entire backlog space (100+)
Question:
1. How do you identify the 'Project' ID/Name e.g. ? 'xxxxxxxxxxxxxxx'
https://rally1.rallydev.com/slm/webservice/v2.0/portfolioitem/feature?project=https://rally1.rallydev.com/slm/webservice/v2.0/project/xxxxxxxxxxxxxxx&query=&fetch=true&start=1&pagesize=1000
thank you!
------------------------------
Brett
------------------------------