d4x1 commented on issue #6083: URL: https://github.com/apache/incubator-devlake/issues/6083#issuecomment-1723291129
@Startrekzky I have tried ChatGPT's advice, and the api is work, but its returns are like this:  It has some information about vcs info, but no field named repoXxx. So ChatGPT's answer is suitable for this issue. BTW, I have tried with @klesh and find we can get project's repos(only repositories are configurated in project' settings), it's an API like this: [`HTTP GET /rest/api/latest/project/{project_key}/repository`](https://developer.atlassian.com/server/bamboo/rest/api-group-api/#api-api-latest-project-projectkey-repositories-get), its return is: ```json [ { "id": 123, "name": "apache/incubator-devlake", "url": "http://ip:port/admin/configureLinkedRepositories.action?repositoryId=123", "rssEnabled": false } ] ``` the URL field is an link to repo's homepage in bamboo, not third party's link. So we infer that there is no field named `repo_url` needed by devlake, we have to concat repo's url case by case. More additional detail will be fetched when we spent some time diving into bamboo's database. I think is workable cause of this [QA](https://community.atlassian.com/t5/Bamboo-questions/Bamboo-REST-API-to-retrieve-repositories-of-the-plan/qaq-p/795842). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
