cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dynatrace Integration with Jira (Add Jira Certificate)

jemartineza
Participant

Hi.

I am trying to integrate Dynatrace with Jira.

At the moment of the integration it sends me the message.

"JIRA integration test failed - Reason: Too many test attempts. Please try again in a few seconds."

I did the test in Postman to validate the connection with Jira but it sent me the same message.

In Postman I added the Jira certificate and validated again, which was successful.

 

How can I add or reference the Jira certificate for the Dynatrace integration?

 

 

 

10 REPLIES 10

sebastian_kryst
DynaMight Leader
DynaMight Leader

If you are using Dynatrace Managed, you should look at this:

https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-managed/configuration/how-t...

I don't think there is any option for adding certificate using gui right now.

Sebastian

Hi

When running the steps and executing the command

I get the following error.

import_trusted_certificate.sh archivet.cer certification

import_trusted_certificate.sh: line 3: $'\r': command not found

import_trusted_certificate.sh: line 6: $'\r': command not found

import_trusted_certificate.sh: line 16: syntax error near unexpected token `$'{\r''

'mport_trusted_certificate.sh: line 16: `importCert() {


It looks like some unwantend whitechars in sh script. Did you download sh script and copy it via SFTP or copy paste it's content into terminal?

Sebastian

Hi.

It was solved by performing the following.

In this way I could make the correct integration of Dynatrace with Jira

Importing the jira certificate to the dynatrace server

The following command is executed to import

1.- Copy the .cer file to the path

/opt/dynatrace-managed/server/jre/lib/security

2.- Execute the following command to import the certificate.

/opt/dynatrace-managed/server/jre/bin/keytool -import -alias jira -keystore cacerts -file certificateJira.cer -storepass changeit

3.- The file is generated cacerts

/opt/dynatrace-managed/server/jre/lib/security/cacerts

4.- Replace the cacerts file in the following paths

PRODUCT_PATH/server/jre/lib/security/cacerts

PRODUCT_PATH/security-Gateway/jre/lib/security/cacerts

PRODUCT_PATH/nodekeeper/jre/lib/security/security/cacerts

5.- Restart Dynatrace Server.

/opt/dynatrace-managed/launcher/dynatrace.sh restart

jemartineza
Participant

Hi.

It was solved by performing the following.

In this way I could make the correct integration of Dynatrace with Jira

Importing the jira certificate to the dynatrace server

The following command is executed to import

1.- Copy the .cer file to the path

/opt/dynatrace-managed/server/jre/lib/security

2.- Execute the following command to import the certificate.

/opt/dynatrace-managed/server/jre/bin/keytool -import -alias jira -keystore cacerts -file certificateJira.cer -storepass changeit

3.- The file is generated cacerts

/opt/dynatrace-managed/server/jre/lib/security/cacerts

4.- Replace the cacerts file in the following paths

PRODUCT_PATH/server/jre/lib/security/cacerts

PRODUCT_PATH/security-Gateway/jre/lib/security/cacerts

PRODUCT_PATH/nodekeeper/jre/lib/security/security/cacerts

5.- Restart Dynatrace Server.

/opt/dynatrace-managed/launcher/dynatrace.sh restart

Steps to add Jira certificate to Dynatrace server

greg-houle
Visitor

sorry to hear that you had such a frustrating problem. gee, as a dt user, i must admit i've never had such an issue when trying to configure and connect both systems. we've done it on multiple occasions for various projects. btw, the last time we made integration between dynatrace and jira, we used an external connector, called zigiops. we used it to transfer issues and custom stories, but it helps with problems &stories, too. helped us a lot since it linked both systems in a snap. we had no issues whatsoever. i'm glad you've found a solution. perhaps, next time you may look for such a tool - saves a lot of time and nerves (personally tested 🙂 ).

vijaykumar
Visitor

HI team how to avoid duplicate jira creation while we have integrated JIRA and dyntrace integration

with so little information there one can only guess. do you have a bi-directional integration by logical loops? maybe that's the cause of the duplication (i guess)? perhaps the logic and mappings of your integration are not configured as they should be? 

Consider dynatrace will  create jiras at some regular interval ...Already one JIRA ticket A is there and not solved  and JIRA ticket B is created with same content and issue without first issue JIRA ticket A is solved.Now duplicate JIRA ticket are going to be created ,How to solve this from dynatrace end

Thanks

vijaykumark