node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »

mozaik-ext-bitbucket-rest-api

Mozaïk value widgets

Value widget for the Mozaïk dashboard framework.

Preview

value

Value Widget Configuration

Api Configuration

api: {
  bitbucket: {
    apiToken: process.env.BITBUCKET_CREDS
  }
}

Dashboard Configuration

{
  // ...
  {
      baseUrl:"https://bitbucket.example.co.uk",
      type:"bitbucket.pullrequests",
      title: "Login OpenID Connect Pull Requests",
      projectKey: "PD",
      repoSlug: "login-openid-connect",
      columns: 4, rows: 4,
      x: 0, y: 0 
  },
}

Parameters

key required description example
baseUrl yes The base URL of your bitbucket environment 'https://bitbucket.example.co.uk'
title yes The widget title 'Login OpenID Connect Pull Requests'
projectKey yes The key of your project, can be found in the url while viewing the project 'PD'
repoSlug yes The slug of your repository, can be found in the url while viewing the repository 'login-openid-connect'