Hi Mates,
I have an automated workflow does the following.
1) Check if any existing repo exists with same name
2) If not create a new repository
3) Start the repository and disable the polling
But at the 2ndstep API throws an error "code : IllegalArgument message: Repository: RepoTest1 already exists" even though the repository never existed on the FishEye.
When I find it in UI it has created the repository in stop state
FishEye and Crucible Version : 4.7.0
API : POST /rest-service-fecru/admin/repositories
JSON Data : {
"type": "git",
"name": "RepoTest1",
"description": "RepoTest1",
"storeDiff": "true",
"enabled": "true",
"git": {
"location": "git@gitlab.com:band/testing_fisheye_project.git",
"auth": {
"authType": "key",
"privateKey": "",
"publicKey": ""
},
"blockSize": 400,
"commandTimeout": "1 hour",
"renameDetection": "NONE"
}
}
Please help.