0.1.4 • Published 6 years ago

mozaik-ext-jira-rest-api v0.1.4

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

Mozaïk value widgets

Value widget for the Mozaïk dashboard framework.

Preview

value

Value Widget Configuration

Api Configuration

api: {
    jirarestapi: {
        credentials: process.env.JIRA_CREDENTIALS
    }
},

Environment variables

keyrequireddescriptionexample
credentialsyesYour Jira Credentials in the format username:password"bill:mypassword"

Dashboard Configuration example

{

  title: "Latest Release in Development",
  columns: 1,
  rows:    4,
  widgets: [
    {
        type:               'jira.advancedissues',
        title:              'Latest Release in Development',
        baseurl:            'https://jira.example.co.uk',
        projectSlug:        'PRJ',
        displayVersion:     1, 
        columns: 1, rows: 3,
        x: 0, y: 0 
    },
    {
        type:               'jira.advancedprogress',
        title:              'Lastest Release Progress',
        baseurl:            'https://jira.example.co.uk',
        projectSlug:        'PRJ',
        graphID:            'graph3',
        graphHeight:        "147px",  
        displayVersion:     1, 
        columns: 1, rows: 1,
        x: 0, y: 3 
    },
    {
        type:               'jira.count',
        baseurl:            'https://jira.example.co.uk',
        projectSlug:        'PPW',
        display:            'Confirmed',
        displayVersion:     1, 
        columns: 1, rows: 1,
        x: 1, y: 0
    },
  ]
},

Running tests

The tests require an environment variable, to set this run the following command to run tests with an environment variable:

npm test

Parameters for jira.advancedissues

keyrequireddescriptionexample
titleyesThe widget title"Lastest development version"
baseurlyesYour Jira Base URL"https://jira.example.co.uk"
projectSlugyesYour Jira Project ID/Slug"PRJ"
displayVersionyesChoose which release version you want to display which 1 being the latest 1

Parameters for jira.advancedprogress

keyrequireddescriptionexample
titleyesThe widget title"Lastest development version progress"
baseurlyesYour Jira Base URL"https://jira.example.co.uk"
projectSlugyesYour Jira Project ID/Slug"PRJ"
displayVersionyesChoose which release version you want to display which 1 being the latest 1
graphIDyesChoose a unique ID for your graph"projectGraph"
graphHeightnoChoose the height of your graph, default being 300px"250px"

Parameters for jira.count

keyrequireddescriptionexample
titleyesThe widget title"Lastest development version progress"
baseurlyesYour Jira Base URL"https://jira.example.co.uk"
projectSlugyesYour Jira Project ID/Slug"PRJ"
displayVersionyesChoose which release version you want to display which 1 being the latest 1
displayyesThe status of which you want to display the number of tasks"Confirmed"
0.1.4

6 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.0.23

7 years ago

0.0.22

7 years ago

0.0.21

7 years ago

0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago