🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

mozaik-ext-jira-rest-api

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mozaik-ext-jira-rest-api

A mozaik widget that displays various information from bitbucket

0.1.4
latest
Version published
Weekly downloads
16
220%
Maintainers
1
Weekly downloads
 
Created

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"
displayVersionyes*Choose 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"
displayVersionyes*Choose 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"
displayVersionyes*Choose 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"

FAQs

Package last updated on 15 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts