Presentation is loading. Please wait.

Presentation is loading. Please wait.

JIRA Integration 0.04 Version of JIRA Plugin Rajesh Jain.

Similar presentations


Presentation on theme: "JIRA Integration 0.04 Version of JIRA Plugin Rajesh Jain."— Presentation transcript:

1 JIRA Integration 0.04 Version of JIRA Plugin Rajesh Jain

2 JIRA Integration with dynaTrace 2 Install JIRA Configure JIRA Install JIRA Plugin Configure JIRA Plugin Test JIRA Plugin Modify/Complile/Redeploy JIRA for automatic Incident Creation

3 Install JIRA 3 Download JIRA from the website – Create a Trial Account – Download from http://www.atlassian.com/software/jira/try/http://www.atlassian.com/software/jira/try/ Install JIRA – Use the Advanced Installation and configure the Ports to ensure they don’t conflict with dynaTrace Ports – Before starting JIRA change the OSGI Timeouts to 300 seconds by changing the registry settings Regedit -> HKEY-LOCAL_MACHINE->SOFTWARE->WOW6432NODE->Apache -> Procrun 2.0->JIRAXXX->Parameters->JAVA- >Options -XX:MaxPermSize=512m -Datlassian.plugins.enable.wait=300 – Disable XSRF Token by changing the file C:\Program Files\Atlassian\JIRA\atlassian-jira\WEB- INF\classes\jira-application.properties file Add the following line jira.xsrf.enabled=false – Install JIRA as service – If JIRA doesn’t startup, cleanup the OSGI Cache under C:\Program Files\Atlassian\Application Data\JIRA\plugins\.osgi-plugins and restart.

4 Configure JIRA 4 – Start JIRA service and navigate to the JIRA Dashboard E.g. http://localhost:8070http://localhost:8070 – Create a local user – Create a Project easyTravel – Create a sample Issue and check the mandatory fields. These fields are required when we configure the JIRA Plugin. – Get the Project ID by Dashboards->Projects->Select the Project->Summary->Hoover Edit Project(Right) to get the link with the Project ID e.g. http://localhost:8070/plugins/servlet/project-config/EASYTRAVEL/summaryhttp://localhost:8070/plugins/servlet/project-config/EASYTRAVEL/summary

5 Install JIRA Plugin 5 Download the JIRA Plugin from the Community Portal (or this Plugin JAR) – https://apmcommunity.compuware.com/community/display/DL/JIRA+Action+Plugin https://apmcommunity.compuware.com/community/display/DL/JIRA+Action+Plugin Launch dynaTrace client->Servers->Plugins->Install Plugin

6 Modify the Plugin and Deploy 6 Edit the Code if there is a need to change some parameters or make some changes. The code is checked out under C:\users\ \workspace\JIRA___Create_Issue_Action_Plugin Build/Test the changes Deploy it once you are satisfied.

7 Configure JIRA 7 Checkout the JIRA Plugin Switch Tab to Development Tab Click Test and configure the Settings to test if this plugin works. You can also check the log file under dynatrace\log\server\com.dynatrace.test.com.dynatrace.diagnostics.jira.CreateIssueActionPlugin.action.0.0

8 Configure Incidents and JIRA 8 Select the Profile e.g dynaTrace Self Monitoring Select an existing Incident or create a new Incident. E.g. Collector Not Connected

9 Configure Incidents and JIRA 9 Add an action and select JIRA Action. Configure the JIRA Action. Provide the name of the Project associated with the Profile. Issue Type 2 is new Issue Test by creating the incident, e.g. Shut down the collector Check the JIRA Dashboard to see if the issue is created

10 To-do 10 Version check doesn’t work The new release of JIRA provides REST API’s It would be desirable to move the plugin to use the REST Interface instead of the HTTP URL POST https://developer.atlassian.com/display/JIRADEV/JIRA+REST+API s#JIRARESTAPIs-GettingStartedwithREST

11 © 2011 Compuware Corporation — All Rights Reserved 11


Download ppt "JIRA Integration 0.04 Version of JIRA Plugin Rajesh Jain."

Similar presentations


Ads by Google