1.2.3 • Published 1 year ago

danger-plugin-jira-integration v1.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

danger-plugin-jira-integration

npm version semantic-release

Danger plugin to integrate your pull request with JIRA

Usage

Install:

yarn add danger-plugin-jira-integration --dev

At a glance:

// dangerfile.js
import jiraIntegration from "danger-plugin-jira-integration";

jiraIntegration({
  url: "https://myjira.atlassian.net/browse"
});

When JIRA-123 in one of the following:

  • PR title
  • PR body
  • git branch name

then Danger will comment with:

If you'd like to be more specific, you can supply a specific Jira key to match:

jiraIntegration({
  key: "JIRA",
  url: "https://myjira.atlassian.net/browse",
});

This plugin will recognize only issues starting with that key (e.g. JIRA-123) and ignore any other keys (e.g. ABC-321).

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.

Contributing

See CONTRIBUTING.md.

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago