[
https://issues.apache.org/jira/browse/NIFI-14968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18020603#comment-18020603
]
Lennart Raun commented on NIFI-14968:
-------------------------------------
Hi,
i'm struggling with similar problem, we are using currently Nifi registry
server, which has in house Bitbucket server configured as backend.
We also like to use Bitbucket in native way through rest-api. Rest api link to
use our Bitbucket server it is similar to this:
[https://bitbucket-servername/rest/api/latest/projects/NIFI/repos/nifi-registry2/|https://bitbucket-servername/rest/api/latest/projects/NIFI/repos/nifi-registry/]
etc
by mistake i configured servername with https in front of it in Bitbucket
registry client properties and doing so generated java error, which fortunately
had full link, that nifi tries to use for accessing bitbucket. After
(non-academically) playing around with all the Bitbucket registry client
options i got closest to link like that:
https://bitbucket-servername/rest/api/latest/repositories/projects/NIFI/repos/nifi-registry2/refs/branches
At that point i didn't know, that Bitbucket registry client API is for cloud
only, so i taught problem is just with properties, so i played around with it,
but that "repositories" in url is probably only used in cloud and none of the
option let to configure it.
Hope it helps and perhaps we can have support for Bitbucket datacenter version
as well in the future.
Wbr, Lennart
> Bitbucket datacenter registry support
> -------------------------------------
>
> Key: NIFI-14968
> URL: https://issues.apache.org/jira/browse/NIFI-14968
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Tomasz Debkowski
> Priority: Major
> Attachments: image-2025-09-15-15-41-26-978.png,
> image-2025-09-15-15-42-26-446.png
>
>
> Bitbucket extension seems to be designed only for Bitbucket cloud:
> https://issues.apache.org/jira/browse/NIFI-14029
>
> It refuses to connect to Bitbucket server with permission error.
> [Bitbucket Data Center REST
> APIs|https://developer.atlassian.com/server/bitbucket/how-tos/command-line-rest/]
>
> Either existing extension should be improved, or 2 separate extensions should
> be created for Bitbucket cloud and datacenter.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)