Socket
Book a DemoInstallSign in
Socket

danger-plugin-jira-issue

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

danger-plugin-jira-issue

Danger plugin to link JIRA issue in pull request

1.4.1
latest
Source
npmnpm
Version published
Weekly downloads
18K
-17.71%
Maintainers
1
Weekly downloads
 
Created
Source

danger-plugin-jira-issue

Build Status npm version

Danger plugin to link JIRA issue in pull request

Usage

Install:

yarn add danger-plugin-jira-issue --dev

At a glance:

// dangerfile.js
import jiraIssue from "danger-plugin-jira-issue";

jiraIssue({
  key: "JIRA",
  url: "https://myjira.atlassian.net/browse",
  emoji: ":paperclip:",
  format(emoji, jiraUrls) {
    // Optional Formatter
    return "Some Custom Message";
  },
  location: "title" // Optional location, either 'title' or 'branch'
});

With JIRA-123 in the PR title, Danger will comment with:

Messages
:book::paperclip: JIRA-123

Generated by :no_entry_sign: dangerJS

If you work with multiple JIRA project boards, you can supply multiple project keys:

jiraIssue({
  key: ["ABC", "DEF"],
  url: "https://myjira.atlassian.net/browse"
});

This plugin will recognize issues starting with those keys (e.g. ABC-123 and DEF-234).

Changelog

See the GitHub release history.

Development

Install Yarn, and install the dependencies - yarn install.

Run the Jest test suite with yarn test.

This project uses semantic-release for automated NPM package publishing.

:heart:

Keywords

danger

FAQs

Package last updated on 12 Oct 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.