JIRA
JIRA provides issue tracking and project tracking for software development teams to improve code quality and the speed of development.
Combining a clean, fast interface for capturing and organising issues with customisable workflows, OpenSocial dashboards and a pluggable integration framework, JIRA is the perfect fit at the centre of your development team.
Bug tracking with JIRA
Bugs are an inevitable part of software development for every team—large or small. We believe your bug tracker should be simple and intuitive without sacrificing functionality or forcing you to change the way you work. JIRA makes bug tracking personalized and painless, so your team focuses energy on what matters most: great code.
Powerful, yet simple
JIRA simplifies every step of tracking bugs for everyone involved. Creating, triaging and resolving bugs is a snap with a clean, intuitive interface.
View issue details including custom fields, attachments, workflow actions and recent activity
Create new bugs in seconds from your browser, email, IDE or smart phone client
Navigate JIRA and execute issue actions using keyboard shortcuts
Quickly triage issues with auto–complete entry fields for labels, components and versions
Leverage activity history to quickly access recently opened issues, projects and searches
JIRA provides issue tracking and project tracking for software development teams to improve code quality and the speed of development.
Combining a clean, fast interface for capturing and organising issues with customisable workflows, OpenSocial dashboards and a pluggable integration framework, JIRA is the perfect fit at the centre of your development team.
Bug tracking with JIRA
Bugs are an inevitable part of software development for every team—large or small. We believe your bug tracker should be simple and intuitive without sacrificing functionality or forcing you to change the way you work. JIRA makes bug tracking personalized and painless, so your team focuses energy on what matters most: great code.
Powerful, yet simple
JIRA simplifies every step of tracking bugs for everyone involved. Creating, triaging and resolving bugs is a snap with a clean, intuitive interface.
View issue details including custom fields, attachments, workflow actions and recent activity
Create new bugs in seconds from your browser, email, IDE or smart phone client
Navigate JIRA and execute issue actions using keyboard shortcuts
Quickly triage issues with auto–complete entry fields for labels, components and versions
Leverage activity history to quickly access recently opened issues, projects and searches
JIRA 4.3.3
# Download the JIRA Standalone TAR (.GZ) file here.
wget http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-4.3.3.tar.gz
# Unzip the downloaded file.
tar xzvf atlassian-jira-4.3.3.tar.gz
# Create JIRA Installation/Home Directory
mkdir /opt/jira
# Copy Extracted files to JIRA’s Installation Directory (-R is for recursive)
cp -R atlassian-jira-4.3.3-standalone/* /opt/jira/
# Lets create a directory for JIRA to store attachments, indexes, and other stuff’s:
mkdir /opt/jira/home
# Now, we need to set the JIRA HOME property:
nano /opt/jira/atlassian-jira/WEB-INF/classes/jira-application.properties
# Change the existing line (or a add new)
jira.home =
# to
jira.home = /opt/jira/home
================================================
# Change Confluence listening port
vi /opt/jira/conf/server.xml
1. Change the port 8005 to 7101
2. Change the port 8080 to 7100
3. Change the port 8443 to 7102
service iptables restart
================================================
# Almost done, we need to open up port 7100 in your local firewall (IPTABLES), or we won’t be able to hit JIRA from our browser:
nano /etc/sysconfig/iptables
# Change this line:
-A RH-Firewall-1-INPUT -j REJECT --reject with icmp-host-prohibited
# To include an additional 3 lines above it for 7100 traffic, like so:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 7100 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 7101 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 7102 -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject with icmp-host-prohibited
service iptables restart
# Configure Apache Tomcat to Run as a Service.
cd /etc/init.d
vi jira
===========================================================
#!/bin/bash
# description: jira Start Stop Restart
# processname: jira
# chkconfig: 234 20 80
JAVA_HOME=/usr/java/jdk1.6.0_25
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH
JIRA_HOME=/opt/jira
case $1 in
start)
sh $JIRA_HOME/bin/startup.sh
;;
stop)
sh $JIRA_HOME/bin/shutdown.sh
;;
restart)
sh $JIRA_HOME/bin/shutdown.sh
sh $JIRA_HOME/bin/startup.sh
;;
esac
exit 0
===========================================================
# Set the permissions for your script to make it executable:
chmod 755 jira
# Launch JIRA:
cd /opt/jira/bin
./startup.sh
# OR Launch JIRA:
service jira start/ stop/ restart
JIRA Configuration with MySQL Database
======================================
## Current JIRA Version 4.3.3
## XML backup
## You can also configure scheduled XML backups, as described in Automating JIRA Backups.
1. Log in as a user with the 'JIRA System Administrators' global permission.
2. Bring up the administration page by clicking either the 'Administration' link on the top bar or the title of the Administration box on the dashboard.
3. Under the 'Import & Export' sub-menu in the left-hand navigation column, click the 'Backup Data to XML' link. This will display the 'Backup JIRA data' page:
## restart jira server
/etc/init.d/jira stop
## MySQL Create Database and User
create database jiradb character set utf8;
grant select, insert, update, delete, create, drop, alter, index on jiradb.* to 'jiradbuser'@'localhost' identified by 'jiradbuserpass';
flush privileges;
select host,user from mysql.user;
select host,db,user from mysql.db;
## Edit server.xml file and update following data between dash(-)
## Please comment the existing config and paste following
vi /opt/jira/conf/server.xml
-----------------------------
<Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/jiradb?useUnicode=true&characterEncoding=utf8&sessionVariables=storage_engine=InnoDB"
username="jiradbuser"
password="jiradbuserpass"
maxActive="20"
validationQuery="select 1"
/>
-----------------------------
## Edit entityengine.xml and update following data between dash(-)
## Please comment the existing config and paste following
vi /opt/jira/atlassian-jira/WEB-INF/classes/entityengine.xml
-----------------------------
<datasource name="defaultDS" field-type-name="mysql"
helper-class="org.ofbiz.core.entity.GenericHelperDAO"
check-on-start="true"
use-foreign-keys="false"
use-foreign-key-indices="false"
check-fks-on-start="false"
check-fk-indices-on-start="false"
add-missing-on-start="true"
check-indices-on-start="true">
-----------------------------
# Copy Jira backup file from "infostore server" to 192.168.1.15 server
scp amunjal@120.136.46.140:/opt/jira/home/export/atlasian-jira-backup-20110720.xml /opt/sware/
# Copy backup file to "/opt/jira/home/import/" directory to import the backup files
cp /opt/jira/home/export/<backup-file-name.xml> /opt/jira/home/import/<backup-file-name.xml>
## restart jira server
/etc/init.d/jira start
## Now install atlassian-jira again
## Restore backup from import directory
1. Log in as a user with the 'JIRA System Administrators' global permission.
2. Bring up the administration page by clicking either the 'Administration' link on the top bar or the title of the Administration box on the dashboard.
3. Under the 'Import & Export' sub-menu in the left-hand navigation column, click the 'Restore Data from XML' link.
4. Enter file name (latest-backup-file-name.xml) in the "File name" field which is located in the "/opt/jira/home/import" then click "Restore" button.
## Now Last backup settings(usernames, passwords, configurations) will affect.
# Download the JIRA Standalone TAR (.GZ) file here.
wget http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-4.3.3.tar.gz
# Unzip the downloaded file.
tar xzvf atlassian-jira-4.3.3.tar.gz
# Create JIRA Installation/Home Directory
mkdir /opt/jira
# Copy Extracted files to JIRA’s Installation Directory (-R is for recursive)
cp -R atlassian-jira-4.3.3-standalone/* /opt/jira/
# Lets create a directory for JIRA to store attachments, indexes, and other stuff’s:
mkdir /opt/jira/home
# Now, we need to set the JIRA HOME property:
nano /opt/jira/atlassian-jira/WEB-INF/classes/jira-application.properties
# Change the existing line (or a add new)
jira.home =
# to
jira.home = /opt/jira/home
================================================
# Change Confluence listening port
vi /opt/jira/conf/server.xml
1. Change the port 8005 to 7101
2. Change the port 8080 to 7100
3. Change the port 8443 to 7102
service iptables restart
================================================
# Almost done, we need to open up port 7100 in your local firewall (IPTABLES), or we won’t be able to hit JIRA from our browser:
nano /etc/sysconfig/iptables
# Change this line:
-A RH-Firewall-1-INPUT -j REJECT --reject with icmp-host-prohibited
# To include an additional 3 lines above it for 7100 traffic, like so:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 7100 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 7101 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 7102 -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject with icmp-host-prohibited
service iptables restart
# Configure Apache Tomcat to Run as a Service.
cd /etc/init.d
vi jira
===========================================================
#!/bin/bash
# description: jira Start Stop Restart
# processname: jira
# chkconfig: 234 20 80
JAVA_HOME=/usr/java/jdk1.6.0_25
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH
JIRA_HOME=/opt/jira
case $1 in
start)
sh $JIRA_HOME/bin/startup.sh
;;
stop)
sh $JIRA_HOME/bin/shutdown.sh
;;
restart)
sh $JIRA_HOME/bin/shutdown.sh
sh $JIRA_HOME/bin/startup.sh
;;
esac
exit 0
===========================================================
# Set the permissions for your script to make it executable:
chmod 755 jira
# Launch JIRA:
cd /opt/jira/bin
./startup.sh
# OR Launch JIRA:
service jira start/ stop/ restart
JIRA Configuration with MySQL Database
======================================
## Current JIRA Version 4.3.3
## XML backup
## You can also configure scheduled XML backups, as described in Automating JIRA Backups.
1. Log in as a user with the 'JIRA System Administrators' global permission.
2. Bring up the administration page by clicking either the 'Administration' link on the top bar or the title of the Administration box on the dashboard.
3. Under the 'Import & Export' sub-menu in the left-hand navigation column, click the 'Backup Data to XML' link. This will display the 'Backup JIRA data' page:
## restart jira server
/etc/init.d/jira stop
## MySQL Create Database and User
create database jiradb character set utf8;
grant select, insert, update, delete, create, drop, alter, index on jiradb.* to 'jiradbuser'@'localhost' identified by 'jiradbuserpass';
flush privileges;
select host,user from mysql.user;
select host,db,user from mysql.db;
## Edit server.xml file and update following data between dash(-)
## Please comment the existing config and paste following
vi /opt/jira/conf/server.xml
-----------------------------
<Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/jiradb?useUnicode=true&characterEncoding=utf8&sessionVariables=storage_engine=InnoDB"
username="jiradbuser"
password="jiradbuserpass"
maxActive="20"
validationQuery="select 1"
/>
-----------------------------
## Edit entityengine.xml and update following data between dash(-)
## Please comment the existing config and paste following
vi /opt/jira/atlassian-jira/WEB-INF/classes/entityengine.xml
-----------------------------
<datasource name="defaultDS" field-type-name="mysql"
helper-class="org.ofbiz.core.entity.GenericHelperDAO"
check-on-start="true"
use-foreign-keys="false"
use-foreign-key-indices="false"
check-fks-on-start="false"
check-fk-indices-on-start="false"
add-missing-on-start="true"
check-indices-on-start="true">
-----------------------------
# Copy Jira backup file from "infostore server" to 192.168.1.15 server
scp amunjal@120.136.46.140:/opt/jira/home/export/atlasian-jira-backup-20110720.xml /opt/sware/
# Copy backup file to "/opt/jira/home/import/" directory to import the backup files
cp /opt/jira/home/export/<backup-file-name.xml> /opt/jira/home/import/<backup-file-name.xml>
## restart jira server
/etc/init.d/jira start
## Now install atlassian-jira again
## Restore backup from import directory
1. Log in as a user with the 'JIRA System Administrators' global permission.
2. Bring up the administration page by clicking either the 'Administration' link on the top bar or the title of the Administration box on the dashboard.
3. Under the 'Import & Export' sub-menu in the left-hand navigation column, click the 'Restore Data from XML' link.
4. Enter file name (latest-backup-file-name.xml) in the "File name" field which is located in the "/opt/jira/home/import" then click "Restore" button.
## Now Last backup settings(usernames, passwords, configurations) will affect.