Export all issues of a JIRA issue tracker instance into static HTML files.
This static files can be indexed by an intranet search engine easily, without having to setup autologin in JIRA.
The first export will take quite some time. After that initial run, only projects with modifications since the last export will get updated, which makes it possible to run the export as cronjob every 15 minutes.
Note: If you use jira 4.4, only export once a day.
jira-export
doesn't support partial updates with it.
- Clone git repository
$ cp data/config.php.dist /data/config.php
- Adjust
data/config.php
- Install dependencies
- composer install
- Run the initial import:
$ ./bin/export-html.php
- Setup the web server document root to
www/
- Setup cron to run the export every 15 minutes.
- Clone git repository
$ cp data/config.php.dist /data/config.php
- Adjust
data/config.php
- Adjust docker-compose.override.yml to your needs
- run docker-compose run build build
- run docker-compose up -d
- Setup cron to run the export every 15 minutes.
If you care about only a fraction of the projects in a JIRA instance, you can choose to export those only.
Simply adjust $allowedProjectKeys
in your configuration file:
$allowedProjectKeys = array('FOO', 'BAR');
Use the -c
command line option:
$ ./bin/export-html.php -c data/config-another.customer.php
- PHP
- Atlassian JIRA, at least version 4.4 with activated REST API. Version 5.1 or higher recommended.
Console_CommandLine
from PEARHTTP_Request2
from PEAR
- Gigan - Parse JIRA XML into CouchDB
jira-export
is licensed under the AGPL v3 or later.