Controller (SaaS, On Premise)

cancel
Showing results for 
Search instead for 
Did you mean: 

How To Use Atlassian JIRA With AppDynamics Alerting Extension

Producer

How To Use Atlassian JIRA With AppDynamics Alerting Extension

This extension works only with a dedicated SaaS controller or an on-prem controller.

 

Use Case

 

JIRA from Atlassian, Inc. is a bug and issue tracking product used for project management. AppDynamics integrates directly with Atlassian JIRA to create JIRA tickets in response to AppDynamics alerts. With the Atlassian JIRA extension you can leverage your existing ticketing infrastructure to notify the operations team and resolve performance degradation issues.

 

Installation

 

To build from source, clone this repository and run mvn clean install. This will produce a jira-alert-.zip in the target directory.

Unzip the jira-alert-.zip file into <CONTROLLER_HOME_DIR>/custom/actions/.

Check if you have custom.xml file in <CONTROLLER_HOME_DIR>/custom/actions/ directory. If yes, add the following xml to the element.

 

<action>
            <type>jira-alert</type>
        <!-- For Linux/Unix *.sh -->
            <executable>jira-alert.sh</executable>
        <!-- For windows *.bat -->
            <!--<executable>jira-alert.bat</executable>-->
    </action>

If you don't have custom.xml already, create one with the below xml content

    <custom-actions>
       <action>
          <type>jira-alert</type>
          <!-- For Linux/Unix *.sh -->
          <executable>jira-alert.sh</executable>
          <!-- For windows *.bat -->
         <!--<executable>jira-alert.bat</executable>-->
       </action>
    </custom-actions>
  1. Uncomment the appropriate executable tag based on windows or linux/unix machine.

  2. Update the config.yml file in <CONTROLLER_HOME_DIR>/custom/actions/jira-alert/conf/ directory with the required parameters. Please make sure to not use tab (\t) while editing yaml files. You may want to validate the yaml file using a yaml validator http://yamllint.com/

    domain: "https://sampledomain.atlassian.net"
    username: "<USER>"
    password: "<PASSWORD>"
    projectKey: "PROJECT_KEY"
    #Optional, if empty logged as Bug
    issueType: "Bug"
    #http timeouts
    connectTimeout: 10000
    socketTimeout: 10000
    #proxy details
    proxy:
     uri:
     username:
     password:
    
  3. Please refer to the following doc to create Custom Actions

    • Creating custom action
      Now you are ready to use this extension as a custom action. In the AppDynamics UI, go to Alert & Respond -> Actions. Click Create Action. Select Custom Action and click OK. In the drop-down menu you can find the action called 'jira-alert'.

    A policy has to be associated with this action for it to be triggered. Refer the docs below

Source:[github]

Tags (1)
How To Use Atlassian JIRA With AppDynamics Alerting Extension
1 REPLY 1
Highlighted
AppDynamics Team

Re: How To Use Atlassian JIRA With AppDynamics Alerting Extension

Hi,

 

Could you brief us the issue you are facing here? Please provide us the relevant logs and config files.

 

Thanks



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.