dosubot[bot] commented on issue #8231:
URL: 
https://github.com/apache/incubator-devlake/issues/8231#issuecomment-2516727072

   <!-- Answer -->
   The issue you're experiencing with linking Jira issues to Bitbucket commits 
might be due to the pattern mismatch in the URLs being fetched. The pattern you 
are using:
   
   ```
   https://bitbucket.org/{namespace}/{repo_name}/commits/{commit_sha}
   ```
   
   does not match the format of the links you provided:
   
   ```
   
https://bitbucket.org/{}/{657afclb-c407-4753-b02c-669584d660da}/commits/a9dc0392610064565a9155f3e0364f666eb8990f
   ```
   
   It seems like the `{namespace}` and `{repo_name}` placeholders in your 
pattern do not align with the actual structure of the URLs being fetched. The 
URL you provided has a UUID-like structure in place of `{repo_name}`.
   
   To resolve this, you may need to adjust your pattern to match the actual 
structure of the URLs. For example, if the UUID is consistent, you might need 
to modify your pattern to accommodate this format. Here's a potential 
adjustment:
   
   ```regexp
   https://bitbucket.org/{namespace}/{repo_uuid}/commits/{commit_sha}
   ```
   
   Ensure that your pattern correctly captures the components of the URL as 
they appear in the fetched links. This should help DevLake correctly parse and 
link the Jira issues with the Bitbucket commits.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
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]

Reply via email to