Home Reference Source Repository

Function

Static Public Summary
public

jiraIssue(options: Object)

A Danger plugin to add a JIRA issue link to the Danger pull request comment.

Static Public

public jiraIssue(options: Object) source

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:

NameTypeAttributeDescription
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
  • optional
  • default: ':link:'

The emoji to display with the JIRA issue link. See the possible emoji values, listed as keys in the GitHub API /emojis response.