Use of custom actions for HTTP based integrations is no longer supported. Please look at HTTP Request Templates on how HTTP based integrations can be done. For sample HTTP templates, please check this article.
This extension works with JIRA Software, JIRA Service Desk and JIRA Business
Download and unzip jira-alert.zip
Copy the jira-alert directory into
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>
Uncomment the appropriate executable tag based on windows or linux/unix machine.
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>" #encryptedPassword: "" projectKey: "PROJECT_KEY" #Optional, if empty logged as Bug issueType: "Bug" #encryptionKey: "" #http timeouts connectTimeout: 10000 socketTimeout: 10000 #proxy details proxy: uri: "" user: "" password: "" #encryptedPassword: ""
Please refer to the following doc to create Custom Actions
A policy has to be associated with this action for it to be triggered. Refer the docs below
Look for the newest created issue in Jira. Screenshots of the workflow are as depicted below:
To avoid setting the clear text password in the config.yml, please follow the process to encrypt the password. Then set encryptionKey and generated password for encryptedPassword in config.yml
java -cp "appd-exts-commons-1.1.2.jar" com.appdynamics.extensions.crypto.Encryptor encryptionKey myPassword
Always feel free to fork and contribute any changes directly via GitHub
For any questions or feature request, please contact AppDynamics Support