How to Install JIRA in CLUSTER

Before you start: Before you install JIRA Data Center, please review this pre-requisite information: Understand how JIRA Data Center works. Understand the node requirements: Each JIRA node must run on its own machine (physical or virtual), with a separate machine for the shared services. The shared services machine must be accessible by each node. Normal…

Read More

How to Cluster Atlassian Server Apps in your Data Center – JIRA, Confluence, Stash with MySQL Galera Cluster

Atlassian apps are widely used by development teams to facilitate software development and collaboration. For larger teams who require enterprise-grade tools, you might want to host the applications in your own data center and cluster them for high availability and performance. In this blog post, we are going to deploy a redundant active-passive setup for…

Read More

Configure Groovy ScriptRunner Logs

Loggin Scripts You can get a long with way with logging statements, which you can do by adjusting the log level, and “tailing” your log file, normally atlassian-jira.log (usually located in the path {JIRA_HOME}/log ). Add the following lines to your log4j.properties (usually located in the path {TOMCAT_ROOT}/webapps/ROOT/WEB-INF/classes): If your script fails for some reason…

Read More

How to create a new Service with Groovy ScriptRunner

Go to JIRA > System > Advanced > Services Name: “HelloService” for example Class (always):  com.onresolve.jira.groovy.GroovyService Delay (n): in minutes input-file: {JIRA_HOME}/scripts/example/HelloService.groovy Then copy the script content to this path  {JIRA_HOME}/scripts/example/HelloService.groovy Then every n minutes you can see in the “atlassian-jira.log” the traces: 2015-05-22 13:37:13,152 atlassian-scheduler-quartz1.clustered_Worker-1 INFO ServiceRunner HelloService [onresolve.jira.groovy.GroovyService] groovyService.run 2015-05-22 13:37:13,157 atlassian-scheduler-quartz1.clustered_Worker-1 DEBUG ServiceRunner…

Read More

How to create a new Listener with Groovy ScriptRunner

Create a new file named Example.groovy Copy the file in the JIRA server, path {JIRA_HOME}/scripts/{package}/Example.groovy NOTE: if the script contains “package example.Example” {package} must be “example” in this case Then define the Custom Listener in JIRA > Add-ons > ScriptRunner Listeners In Note: put general Information, for example “MyFirstListener Example” In Project Key: put all the…

Read More