Connectors

Bitbucket Server Connector

Available in: Ultimate and Enterprise editions
Available for an additional cost in: Team edition

Get in touch with Sales for licensing questions.

Bitbucket Server connector allows the downloading of source files and uploading of target files directly to/from the Bitbucket Server repository. The connector uses the Bitbucket Server API to implement the integration and allows access to all repositories associated with a Bitbucket Server account.

Use Bitbucket Cloud Connector if connecting to http://bitbucket.org/.

Bitbucket Server Connector Use Cases

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 Automation Widget allowing Submitters to add files to requests directly from the online repository.
  • Use Automated Project Creation to have Memsource automatically create new projects 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. Note that the target translation files can be stored only in the same branch as the source file.
  • Set up Continous Jobs to have Memsource monitor selected files for changes.
  • The Connector API can be used to automate steps otherwise performed manually through the UI. Webhooks can be used to have Memsource notify 3rd party systems about certain events (for example, a job status change).

Use Git connector to connect to Bitbucket if:

  • Limiting Memsource access to a single repository is required.
  • Using an SSH key for authentication.
  • Monitoring an entire subdirectory for a change in Automated Project Creation is required.
  • Detection of file changes based on Last modified date as opposed to just file size is required.

Connect to Bitbucket Server

Bitbucket Server Settings:

Create an access token in the Bitbucket account:

  1. Log in to the Bitbucket account, click the profile icon in the top-right corner, and click on Manage account.
    The Account settings screen opens.
  2. Navigate to Personal access tokens and click Create a token.
  3. Provide a name.
  4. Set permissions:
    • Projects permission to Read.
    • Repositories permission to Write.
  5. Click on Create.
    This generates a token needed to enter into the Memsource connector configuration.

    Important:

    The token is only visible at this stage and will not be visible again if the window is closed.

Memsource Settings:

  1. From the Setup page, scroll down to the Integrations section. Click on Connectors.
    The Connectors page opens.
  2. Click New.
    The Create Connector page opens.
  3. Provide a name for the connection and change the Type to Bitbucket Server.
  4. Enter the server host address into the Host field and the Bitbucket personal access token obtained from the Bitbucket server site.

    Note:

    In order for Memsource Cloud to access the repository, it must be accessible from the Internet.
  5. Click Test connection.
    A checkmark will appear if the connection was successful. A red exclamation point will appear if it wasn't. Mouse over the icon to see additional details.
  6. Click Save.
    The connector is added to the list on the Connectors page.

If a default project, branch, and folder is required when connecting to a Bitbucket Cloud account, open the connector configuration and click the Select Remote Folder button to set it.