e14mattc / jira-export

Export all issues of a JIRA issue tracker instance into static HTML files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Static JIRA issue export

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.

Setup classic

  1. Clone git repository
  2. $ cp data/config.php.dist /data/config.php
  3. Adjust data/config.php
  4. Install dependencies
    1. composer install
  5. Run the initial import: $ ./bin/export-html.php
  6. Setup the web server document root to www/
  7. Setup cron to run the export every 15 minutes.

Setup with docker

  1. Clone git repository
  2. $ cp data/config.php.dist /data/config.php
  3. Adjust data/config.php
  4. Adjust docker-compose.override.yml to your needs
  5. run docker-compose run build build
  6. run docker-compose up -d
  7. Setup cron to run the export every 15 minutes.

Additional configuration

Export some projects only

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');

Multiple JIRA instances

Use the -c command line option:

$ ./bin/export-html.php -c data/config-another.customer.php

Dependencies

  • PHP
  • Atlassian JIRA, at least version 4.4 with activated REST API. Version 5.1 or higher recommended.
  • Console_CommandLine from PEAR
  • HTTP_Request2 from PEAR

Similar tools

  • Gigan - Parse JIRA XML into CouchDB

About jira-export

License

jira-export is licensed under the AGPL v3 or later.

Author

Christian Weiske, Netresearch GmbH & Co KG

About

Export all issues of a JIRA issue tracker instance into static HTML files


Languages

Language:PHP 84.0%Language:Makefile 11.8%Language:Shell 4.2%