Allows creating tickets in redmine instance

CKAN, redmine, synchronization
pip install ckanext-redmine-autoissues==1.0.0



CKAN plugin to automatically create redmine issues when new dataset appears.

Based on ckanext-syndicate.


  • Tested with CKAN 2.5.x branch
  • Requires celery
  • To work over SSL, requires pyOpenSSL, ndg-httpsclient and pyasn1


To install ckanext-redmine:

  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate
  2. Install the ckanext-redmine-autoissues Python package into your virtual environment:

    pip install ckanext-redmine-autoissues
  3. Add redmine to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).

  4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:

    sudo service apache2 reload
  5. You will also need to set up celery. In a development environment this can be done with the following paster command from within your virtual environment:

    paster --plugin=ckan celeryd run -c /etc/ckan/default/development.ini

Config Settings

# The URL of the Redmine site
ckan.redmine.url =

# Redmine API key
ckan.redmine.apikey = CHANGE_THIS_OR_IT_WONT_WORK

# Redmine project
ckan.redmine.project = my_project

# The custom metadata flag used for storing redmine URL
# (optional, default: redmine_url).
ckan.redmine.flag = redmine_url

# A prefix to apply to the name of the dataset when creating an issue
# (optional, default: New dataset)
ckan.redmine.subject_prefix = New dataset

Development Installation

To install ckanext-redmine-autoissues for development, activate your CKAN virtualenv and do:

git clone
cd ckanext-redmine-autoissues
python develop
pip install -r dev-requirements.txt

See also Installation

Running Celery in production

Place the provided ckan-celery.service file to /etc/systemd/system/:

cp ckan-celery.service /etc/systemd/system/
systemctl daemon-reload
systemctl start ckan-celery
# check with
systemctl status -l ckan-celery
# watch with
journalctl -f
# enable permanently with
systemctl enable ckan-celery

Releasing a New Version of ckanext-redmine-autoissues

ckanext-redmine-autoissues is availabe on PyPI as To publish a new version to PyPI follow these steps:

  1. Update the version number in the file. See PEP 440 for how to choose version numbers.

  2. Create a source distribution of the new version:

    python sdist
  3. Upload the source distribution to PyPI:

    python sdist upload
  4. Tag the new release of the project on GitHub with the version number from the file. For example if the version number in is 0.0.2 then do:

    git tag v1.0.1
    git push --tags