Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jiraIssue): add initial implementation #1

Merged
merged 1 commit into from
May 12, 2017

Conversation

macklinu
Copy link
Owner

jiraIssue() is a Danger plugin that adds 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.

Example usage:

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

jiraIssue({
  key: 'JIRA',
  url: 'https://myjira.atlassian.net/browse',
  emoji: ':paperclip:',
})

BREAKING CHANGE: this commit introduces functionality ready for a 1.0.0 release.

(commit message has a typo in it 🙃 will squash and merge in GitHub)

`jiraIssue()` is a Danger plugin that adds 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.

Example usage:

```js
// dangerfile.js
import jiraIssue from 'danger-plugin-jira-issue'

jiraIssue({
  key: 'JIRA',
  url: 'https://myjira.atlassian.net/browse',
  emoji: ':paperclip:',
})
```

BREAKING CHANGE: this commit introduces functionality ready for a 1.0.0 release.
@macklinu macklinu merged commit 8638e2f into master May 12, 2017
@macklinu macklinu deleted the initial-functionality branch May 12, 2017 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant