This package has been deprecated

Author message:

Package no longer supported. Contact support@npmjs.com for more info.

leitstand-jira

0.1.3 • Public • Published

leitstand-jira NPM version Build Status Dependency Status

JIRA plugin for Leitstand

Installation

First, install leitstand-cli, if you haven't done yet. Then install the plugin as dependency into your Leitstand app via:

npm install leitstand-jira --save

Usage

// Creates a widget for displaying the overall open issues count,
// may vary with your API user's permissions
// Consider using e.g. yargs, to pass credentials to the script, instead of storing them in git
leitstand
  .plugin('jira', {
    settings: {
      host: '<HOST>',
      basic_auth: {
        username: '<USERNAME>',
        password: '<PASSWORD>'
      }
    }
  })
  .widget('open-jira-issues', {
    plugin: 'jira',
    methods: {
      name: 'search.search',
      opts: {
        jql: 'status in (Open, "In Progress")',
        maxResults: 0
      }
    },
    filter: function(values) {
      return {
        open: values.total
      };
    }
  });

API

jira-connector

License

MIT © Sebastian Krüger

Package Sidebar

Install

npm i leitstand-jira

Weekly Downloads

2

Version

0.1.3

License

MIT

Last publish

Collaborators

  • npm