Warning
Atlassian intends to end sale and support of Bitbucket Server. The connector will not be supported beyond the end of sale date but will be available until the server is decommissioned.
There are a number of use cases for the connector:
-
Project managers can add files directly to projects from an online repository.
-
Set up the submitter portal to allow Submitters to add files to requests directly from the online repository.
-
Use automated project creation (APC) to have new projects automatically created when a change in file size is detected in monitored files or a folder.
-
Selected files are imported the very first time APC runs. All files are imported when a folder is monitored.
-
Use the Git connector if you need to monitor an entire subdirectory.
-
This connector supports absolute path setting. Target translation files can be stored only in the same branch as the source file.
-
-
Set up continuous jobs to have selected files monitored for changes.
Tip
If requirements are:
-
Limiting Phrase access to a single repository.
-
Using an SSH key for authentication.
-
Monitoring an entire subdirectory for a change in automated project creation (APC).
-
Detection of file changes based on Last modified date as opposed to just file size.
Use Git connector to connect to Bitbucket .
Create an access token in the Bitbucket account:
-
Log in to the Bitbucket account, click the profile icon in the top-right corner, and click on Manage account.
The
screen opens. -
Navigate to Create a token.
and click -
Provide a name.
-
Set permissions:
-
Projects permission to Read.
-
Repositories permission to Write.
-
-
Click on Create.
This generates a token needed to enter into the connector configuration.The token is only visible at this stage and will not be visible again if the window is closed.
-
From the Settings
page, scroll down to the section.
-
Click on Connectors.
The
page opens. -
Click New.
The
page opens. -
Provide a name for the connection and change the Type to Bitbucket Server .
-
Enter the server host address into the Host field and the Bitbucket personal access token obtained from the Bitbucket server site.
-
Click Test connection.
A checkmark will appear if the connection was successful. A red exclamation point will appear if it wasn't. Hover over the icon to see additional details.
-
Click Save.
The connector is added to the list on the
page.