Function
Static Public Summary | ||
public |
A Danger plugin to add a JIRA issue link to the Danger pull request comment. |
Static Public
public jiraIssue(options: Object) source
import jiraIssue from 'danger-plugin-jira-issue/src/index.js'
A Danger plugin to add a JIRA issue link to the Danger pull request comment. If a pull request title does not contain the supplied JIRA issue identifier (e.g. ABC-123), then Danger will comment with a warning on the pull request asking the developer to include the JIRA issue identifier in the pull request title.
Params:
Name | Type | Attribute | Description |
options | Object | The JIRA options object. |
|
options.key | string | The JIRA issue key (e.g. the ABC in ABC-123). |
|
options.url | string | The JIRA instance issue base URL (e.g. https://jira.atlassian.com/browse/). |
|
options.emoji | string |
|
The emoji to display with the JIRA issue link.
See the possible emoji values, listed as keys in the GitHub API |