Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,366,955
Community Members
 
Community Events
168
Community Groups

FishEye Create API Throws Repository Already exists

Edited

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.

 

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events