How to create a Jira Server script field to show in all parent ticket the SUM of some customfield of all subtasks

In this exercise we want to create a new custom field of type Scriptfield of Scriptrunner Jira plugin. This script field will sum all the values of some customfield of its subtasks. Just go to Add-ons –> Scriptrunner –> Script Fields and create a new Script field like this (Total…): Now place a script like…

Read More

How to read attributes from LDAP in Jira using Groovy

Example script code in Groovy to read attributes from persons of the LDAP in Jira Server or Datacenter by MrAddon @GrabResolver(name=’apache-snapshot’, root=’http://repository.apache.org/snapshots/’) @Grab(group=’org.apache.directory’, module=’groovyldap’, version=’0.1-SNAPSHOT’) import javax.naming.Context; import javax.naming.NameNotFoundException; import javax.naming.NamingEnumeration; import javax.naming.NamingException; import javax.naming.directory.Attribute; import javax.naming.directory.Attributes; import javax.naming.directory.BasicAttribute; import javax.naming.directory.BasicAttributes; import javax.naming.directory.ModificationItem; import javax.naming.directory.SearchControls; import javax.naming.directory.SearchResult; import javax.naming.ldap.InitialLdapContext; import javax.naming.ldap.LdapContext; import javax.naming.ldap.LdapName; import java.text.MessageFormat;…

Read More

Tuning JVM Garbage Collector (Best values for JIRA 6 & 7 large instances)

The following example JVM settings are recommended for most production servers (JIRA works better as standalone installation): -server -Xms24G -Xmx24G -XX:PermSize=512m -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=20 -XX:ConcGCThreads=5 -XX:InitiatingHeapOccupancyPercent=70 For production replica servers (test environments), use the example settings: -server -Xms4G -Xmx4G -XX:PermSize=512m -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=20 -XX:ConcGCThreads=5 -XX:InitiatingHeapOccupancyPercent=70 For standalone installations (recommended in JIRA large installations), use the…

Read More

eazyBI plugin settings [Advanced settings] best values for mondrian OLAP

The performance seems better with this values More info in: https://github.com/rsim/mondrian-olap/issues/28 https://docs.eazybi.com/display/EAZYBIPRIVATE/Custom+schema+definition+-+Aggregate+tables https://docs.eazybi.com/display/EAZYBIJIRA/Installation+and+setup#Installationandsetup-Databaseconnection Values info: http://infocenter.pentaho.com/help/index.jsp?topic=%2Fperformance_tuning_guide%2Fconcept_mondrian_properties.html

Read More