@mazzlo/mazzlo-jira-sync
Synchronise JIRA data with Mazzlo Delivery Analytics (www.mazzlo.co)
Last updated 2 years ago by mazzlo .
ISC · Original npm · Tarball · package.json
$ cnpm install @mazzlo/mazzlo-jira-sync 
SYNC missed versions from official npm registry.

Getting Started

Install mazzlo-jira-sync:

npm install @mazzlo/mazzlo-jira-sync -g

Run "mazzlo-jira-sync" in your terminal. You will be prompted to provide configuration settings on first run.

To modify configuration settings after they have been initialised, run the command:

mazzlo-jira-sync --settings

Running mazzlo-jira-sync

If you have stored your JIRA username, JIRA password and Mazzlo shared secret as configuration settings, you can run mazzlo-jira-sync by running the command:

mazzlo-jira-sync

If not, you can pass these credentials into 'mazzlo-sync-script' as temporary environment variables by running the command:

JIRA_USERNAME=myJiraUsername JIRA_PASSWORD=myJiraPassword MAZZLO_SHARED_SECRET=mazzloSecret mazzlo-jira-sync

If mazzlo-jira-sync cannot find your JIRA username or password as either configuration settings or environment variables, it will prompt you to enter them when you run the script.

When you run mazzlo-jira-sync, it will initiate a data sync immediately, and then schedule itself to run nightly. Leave the mazzlo-jira-sync process running to keep JIRA and Mazzlo in sync ongoing.

Options

mazzlo-jira-sync --run-once runs a single Mazzlo sync and then exits (no further sync runs are scheduled)
mazzlo-jira-sync --no-initial schedules future Mazzlo sync runs without running an initial sync
mazzlo-jira-sync --settings allows you to modify configuration settings\

Debug mode

To run mazzlo-jira-sync in debug mode, run the following command from the mazzlo-jira-sync install directory:

DEBUG="*" npm run start

DEBUG can be set to "*" to debug everything, or to a comma separated list of config, http, or ssl.

For example, this command will enable debugging relating to config and http:

DEBUG="config,http" npm run start

Tests

Run the unit test suite from the mazzlo-jira-sync install directory with the command:

npm test

Current Tags

  • 1.0.4                                ...           latest (2 years ago)

5 Versions

  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (11)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |