Installing and Configuring AccuRev Plug-In for Atlassian Crucible

This section describes how to install and configure AccuRev Plug-In for Atlassian Crucible.

System requirements

Make sure you meet the following requirements before installing.

Operating systems

AccuRev Plug-In for Atlassian Crucible is currently supported on the following operating systems:

  • Microsoft Windows 10 R2
  • Microsoft Windows 8
  • Microsoft Windows 7
  • Red Hat Enterprise Linux 7

Note: We recommend that you install the appropriate operating system service packs before installing AccuRev Plug-In for Atlassian Crucible.

Applications

The following applications must be installed on your machine before you install the plug-in:

  • Atlassian Crucible 4.1.2 to 4.6.1
  • AccuRev 6.2.3, 7.0, 7.1, 7.2

Back to top

Installation steps

Before installing, ensure that you have an AccuRev client on the same machine that is running Atlassian Crucible. Ensure that any existing plug-in is uninstalled before preceding with the installation.

To install the AccuRev Plug-In for Atlassian Crucible:

  1. Go to the AccuRev Integrations downloads page on the Micro Focus SupportLine page: http://supportline.microfocus.com/websync/productupdatessearch.aspx.
  2. Locate and download the accurev-scm-plugin-for-crucible-2018.1-bin.zip file and extract its contents.
  3. Install AccuRev Plug-In for Atlassian Crucible as an Atlassian Crucible plug-in by uploading the accurev-scm-plugin-2018.1.jar file to the appropriate location. Refer to your Atlassian Crucible documentation for information about installing plug-ins and uploading add-ons.
  4. Restart the Atlassian Crucible service.

Back to top

Configure Atlassian Crucible (4.3 to 4.6.1) to use AccuRev

To configure Atlassian Crucible 4.3 to 4.6.1 to use AccuRev, ensure the following:

  1. Use Google Chrome as your browser.
  2. Add Restlet Client - REST API Testing by clicking +ADD TO CHROME.
  3. Launch Restlet Client.

To map an Atlassian Crucible project to a repository, perform the following:

  1. Once Restlet Client -Rest API Testing is launched, click the Request tab and select PUT from the METHOD list.
  2. In the URL field, enter http//localhost:8060/rest-service-fecru/admin/projects/<projectKey>.

    Note: Ensure that projectkey is entered in capital letters. For example: P2.

  3. Under the HEADERS section:
    1. Select the Authorization option and then click on the search icon next to the field. The Authorization window is displayed. Enter the Atlassian Crucible user's credentials (Username and Password).
    2. Select the Content Type option and enter: application/json.
  4. In the Body section, enter {"defaultRepositoryName" : "<Repo1>"}. For example: "DD"
  5. Click Send. The following message is displayed which ensures that the mapping is successful: 200 Ok.

Note: This mapping has to be established each time a new project is used.

However, even when the above mapping is established successfully, users will still not be able to see the repository in the Edit Project screen. It will always be blank. See the below picture for reference.

Back to top

Uninstalling AccuRev Plug-In for Atlassian Crucible

To uninstall AccuRev Plug-In for Atlassian Crucible, take the following steps:
  1. Navigate to the Atlassian Crucible Web page.
  2. Login as an administrator.
  3. Choose Settings > Add Ons.
  4. Select the plug-in to uninstall it.

Back to top