Giter Club home page Giter Club logo

trello-bug-reporter's Introduction

Trello Bug Reporter

https://www.loom.com/share/b8689a7f9f9841778caa91542c9ae903?sid=4aac93bf-f728-4e4d-ba10-c5aa44982c8c

A simple bug reporter for Trello which allows you to automatically create bug report cards in Trello.

The bug reporter will automatically attach a screenshot to the card and assign a priority to the card.

Table of Contents

Features

  • Automatically generate a bug report card in Trello
  • Automatically attach a screenshot to the bug report card
  • Assign a priority to the bug report card
  • [] Automatically attach a log file to the bug report card
  • [] Automatically attach a video to the bug report card

Requirements

You will need to generate a Trello API key and secret. You can do so using Trello's New Power-Up or Integration form.

Your API credentials will be specific to your chosen workspace.

Once you have generated your key and secret pair. You will need to manually generate a token which can be done by clicking on the Token link as shown below.

Trello's power up form showing how to manually generate a token

Use the generated token and key to initialise the bug reporter.

Specify a Trello board and list

You will need to specify a board and list to which the bug reports will be sent. You can do so by creating a new board and list in Trello (or by using an existing board).

Board ID

You can then retrieve the board ID by appending .json to the end of the board URL. The board ID will be the value of the id property in the JSON response - this will be the first ID value at the very top-right of an unformatted JSON response.

URL example: https://trello.com/b/123456789/my-board-name.json where https://trello.com/b/123456789/my-board-name would be the typical URL to reach the board.

List ID

You can retrieve the list ID clicking on a card in the list and exporting the card as JSON, steps below:

  1. Open the card
  2. Click Share at the bottom
  3. Click Export JSON
  4. Search that file for "idList"

There may be multiple instances of "idList" in the JSON file - you are looking for the first instance.

Installation

npm i trello-bug-reporter

Usage

Once you have installed the package and you have your API key, token and Trello IDs, you can use the following code to create a bug reporter instance:

import BugTool from "trello-bug-reporter";

BugTool.init({
  token: "",
  key: "",
  boardId: "",
  listId: "",
});

Priority dropdown

The bug reporter will fetch and render a dropdown of Trello labels which are used to prioritise the bug ticket.

trello-bug-reporter's People

Contributors

kyebuff avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.