Jira DVCS shows wrong URL for commits
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
要約
Viewing commits for an organization displays an unexpected URL.
診断
Looking at the URL for any commit, an unexpected URL is displayed.
You can also check the following two tables in the database to find the organization ID and the URL's associated with the repositories:
select * from "AO_E8B6CC_ORGANIZATION_MAPPING" ;
select * from "AO_E8B6CC_REPOSITORY_MAPPING" ;
Results from 'AO_E8B6CC_ORGANIZATION_MAPPING' showing the organization ID as 27:
DVCS_TYPE | HOST_URL | ID | 名前 |
githube | https://github.chris.com | 27 | Chris-Lab |
Results from the AO_E8B6CC_REPOSITORY_MAPPING table showing the Repository URL and the Organization_ID:
ACTIVITY_LAST_SYNC | ID | 名前 | ORGANIZATION_ID | SLUG | SMARTCOMMITS_ENABLED | UPDATE_LINK_AUTHORISED | REMOTE_ID | REPOSITORY_URL |
8038 | Chris-Commit | 27 | Chris Commit | t | t | https://github.chris.com/chris-us-test/chris |
Note the URL is 'https://github.chris.com/chris-us-test/chris' when it should be https://github.chris.com/Chris-Lab/Chris-Commit
ソリューション
- Delete the Organization that has the wrong URL and re-add
- This will clear the data in the table and repopulate the data
- Information on managing DVCS accounts can be found in - Integrating with development tools using DVCS