Mozaïk jira widgets
!NPM versionnpm-imagenpm-url
!Travis CItravis-imagetravis-url
!Licenselicense-imagelicense-url- client configuration
- widgets
Client Configuration
In order to use the Mozaïk jira widgets, you must configure its client. Configuration is loaded from environment variables.| env key | required | default | description |------------------|----------|------------------------|---------------------------- | JIRAPROTOCOL | no | 'http' |
http
or https
| JIRAHOST | yes | | jira host (without protocol)
| JIRAUSERNAME | yes | | username for auth
| JIRAPASSWORD | yes | | password for authYou 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:- JIRAOTHERPROTOCOL
- JIRAOTHERHOST
- …
Project
Display information about jira project.
parameters
key | required | description ------------|----------|---------------------projectId
| yes | ID of the projectProjectVersions
List jira project's versions.
parameters
key | required | description ------------|----------|---------------------projectId
| yes | ID of the projectProjectVersionUnresolvedIssueCount
Display count of unresolved issues for a given project version.
parameters
key | required | description --------------|----------|---------------------projectId
| yes | ID of the project
versionName
| yes | name of the project's version