Get project
Gets information about a project by ID
- Parameters
- Advanced call ?
Function GetProject(Val URL, Val Token, Val Name) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| URL | --url | String | ✔ | ReportPortal server URL |
| Token | --token | String | ✔ | Access token |
| Name | --name | String | ✔ | Project name |
Returns
Map Of KeyAndValue - serialized JSON response from ReportPortal
| Parameter | Description |
|---|---|
| proxy | InternetProxy or a structure with fields Protocol, Host, Port, User, Password, UseOSAuthentication |
| timeout | Request execution timeout |
| adv_response | Formats the response as a complete HTTP structure with fields code, body, and headers |
| retries | Number of HTTP request send attempts on 5** status codes or internal client errors |
| dontwait | Creates a background job and returns its data (for 1C and OneScript only) |
1C:Enterprise/OneScript code example
URL = "tests.openintegrations.dev";
Token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX25hbWUiOiJzdXBlcmFkbWluIiwic2NvcGVzIjpbInVpIl0sImV4cCI6MTc2MjAwMDI3NiwiaWF0IjoxNzYxOTEzODc2LCJqdGkiOiI0NTI3YTc5OS0wN2...";
Name = "TestProject";
Result = OPI_ReportPortal.GetProject(URL, Token, Name);
- Bash
- CMD/Bat
oint rportal GetProject \
--url "tests.openintegrations.dev" \
--token "***" \
--name "TestProject"
oint rportal GetProject ^
--url "tests.openintegrations.dev" ^
--token "***" ^
--name "TestProject"
Result
{
"projectId": 154,
"projectName": "testproject",
"entryType": "INTERNAL",
"configuration": {
"attributes": {
"job.keepScreenshots": "1209600",
"analyzer.uniqueError.removeNumbers": "true",
"analyzer.autoAnalyzerMode": "CURRENT_AND_THE_SAME_NAME",
"analyzer.numberOfLogLines": "-1",
"analyzer.searchLogsMinShouldMatch": "95",
"analyzer.isAutoAnalyzerEnabled": "true",
"analyzer.allMessagesShouldMatch": "false",
"job.keepLaunches": "7776000",
"analyzer.isAutoPatternAnalyzerEnabled": "false",
"analyzer.largestRetryPriority": "false",
"analyzer.uniqueError.enabled": "true",
"job.interruptJobTime": "86400",
"notifications.enabled": "true",
"analyzer.indexingRunning": "false",
"job.keepLogs": "7776000",
"analyzer.minShouldMatch": "95",
"notifications.email.enabled": "true"
},
"subTypes": {
"NO_DEFECT": [
{
"id": 4,
"locator": "nd001",
"typeRef": "NO_DEFECT",
"longName": "No Defect",
"shortName": "ND",
"color": "#76839b"
}
],
"TO_INVESTIGATE": [
{
"id": 1,
"locator": "ti001",
"typeRef": "TO_INVESTIGATE",
"longName": "To Investigate",
"shortName": "TI",
"color": "#00829b"
}
],
"AUTOMATION_BUG": [
{
"id": 2,
"locator": "ab001",
"typeRef": "AUTOMATION_BUG",
"longName": "Automation Bug",
"shortName": "AB",
"color": "#ffc208"
}
],
"PRODUCT_BUG": [
{
"id": 3,
"locator": "pb001",
"typeRef": "PRODUCT_BUG",
"longName": "Product Bug",
"shortName": "PB",
"color": "#d32f2f"
}
],
"SYSTEM_ISSUE": [
{
"id": 5,
"locator": "si001",
"typeRef": "SYSTEM_ISSUE",
"longName": "System Issue",
"shortName": "SI",
"color": "#3e7be6"
}
]
},
"notificationsConfiguration": {
"enabled": true,
"cases": []
},
"patterns": []
},
"users": [
{
"uuid": "e5f6d2db-e63a-48d5-915a-e8ac666d0b2a",
"login": "superadmin",
"email": "superadminemail@domain.com",
"projectRole": "PROJECT_MANAGER",
"accountRole": "ADMINISTRATOR",
"accountType": "INTERNAL"
}
],
"integrations": [],
"organization": null,
"allocatedStorage": 0,
"creationDate": "2026-05-26T14:38:18.710741Z"
}