0.5.0 • Published 6 years ago

@mozaik/ext-jira v0.5.0

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

Mozaïk jira widgets

NPM version Travis CI License

Client Configuration

In order to use the Mozaïk jira widgets, you must configure its client. Configuration is loaded from environment variables.

env keyrequireddefaultdescription
JIRA_PROTOCOLno'http'http or https
JIRA_HOSTyesjira host (without protocol)
JIRA_USERNAMEyesusername for auth
JIRA_PASSWORDyespassword for auth

You also have the ability to use multiple clients, you'll have to set the client parameter on your widget:

dashboards:
-
  title: '@mozaik/ext-jira demo'
  # …
  widgets:
  -
    # will use 'default' client, JIRA_* environment variables
    extension: jira
    widget:    Project
    # …
  -
    # will use 'other' client, JIRA_OTHER_* environment variables
    extension: jira
    widget:    Project
    client:    other <— HERE IT IS
    # …

when you define the client property, the loaded environment variables must have the form JIRA_<uppercased_client_id>_<key>, for example:

  • JIRA_OTHER_PROTOCOL
  • JIRA_OTHER_HOST

Project

Display information about jira project.

parameters

keyrequireddescription
projectIdyesID of the project

ProjectVersions

List jira project's versions.

parameters

keyrequireddescription
projectIdyesID of the project

ProjectVersionUnresolvedIssueCount

Display count of unresolved issues for a given project version.

parameters

keyrequireddescription
projectIdyesID of the project
versionNameyesname of the project's version