we have a project called policy-api in both projects
https://bitbucket.company.com/projects/JAVA
https://bitbucket.company.com/projects/JAVAL
When we chose the Java project, policy-api appears twice in the repository name list and regardless of which we select the repo url is always the JAVAL one.