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.
This is a pure Docker version with a number of improvements over the original. Since the original has gone unmaintained for 4 years, this is the right fork to consider using.
- Clone git repository
cp data/config.php.dist data/config.php
- Adjust
data/config.php
- 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');
If you want to exclude specific projects from the export, it is also possible.
Set the keys you want to exclude in $bannedProjectKeys
$bannedProjectKeys = array('BAZ', 'SPAM');
Use the -c
command line option:
docker-compose run app /opt/jira-export/bin/export-html.php -c /opt/jira-export/data/config.another-customer.php
- Docker (tested with version 20.10.21) & Docker-Compose (tested with version 1.29.2)
- Atlassian JIRA, at least version 4.4 with activated REST API.
Version 5.1 or higher recommended. Works fine with Jira Cloud (you need to set the URL to the top-level API, not
/jira/
)