Test and fix Jira connections

This topic describes how to test and fix connections to Jira.

Test Jira connections using dmcli

You can test connections to Jira using the Dimensions CM command-line client, dmcli.

To test Jira connections using dmcli:

  1. Log in to dmcli.

  2. Specify the working Jira issue for a stream or project using the SCWS command. For example, specify the issue DEV-17 for the stream MY_PRODUCT:MY_STREAM:

  3. SCWS "MY_PRODUCT:MY_STREAM" /CHANGE=DEV-17

  4. Check there are no errors in the command output.

Back to top

Test Jira connections using the desktop client

You can test connections to Jira using the Dimensions CM desktop client.

To test Jira connections using the desktop client:

  1. Log in to the desktop client.
  2. From the View menu, select User Inbox.
  3. Select External Requests. Requests from the default request provider are displayed in the content window.
  4. Check there are no errors in the content or console windows.

Back to top

Fix SSL certificates

If a Jira connection has one of the following errors, the most likely cause is a missing Jira site certificate on your Dimensions CM server:

  • 60: SSL peer certificate or SSH remote key was not OK.
  • 35 SSL connect error.

To fix SSL on Windows:

  • Log in to Jira in a web browser.
  • Export a Jira site certificate from the browser when you are logged in. Import the certificate to the Windows Server host.

To fix SSL on UNIX:

Note: This method also works on Windows.

  1. Log in to a Jira account in a web browser.
  2. Click the View site information icon on the left side of the browser address bar.
  3. Navigate to the folder where certificates are saved. See your browser's user help for instructions.
  4. Select *.atlassian.net and save it as X.509 Certificate with chain (PEM).
  5. Copy the certificate to your host machine.
  6. Use this variable to add the certificate's path to the Dimensions CM server configuration file, dm.cfg:

    DM_SSL_TRUST_CERTS_FILE <certificate path>

    Tip: You can group multiple certificates in a single certificate file referenced by this variable.

Back to top