0.06
Low commit activity in last 3 years
No release in over a year
A Danger plugin to link JIRA issues to a pull request.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.4
~> 2.14
= 3.0.7
>= 0
~> 13.0
~> 3.4
~> 0.48.1
~> 0.9.11

Runtime

 Project Readme

danger-jira

License Gem

A Danger plugin for that links JIRA issues to pull requests for both GitHub and GitLab. Inspired by danger-plugin-jira-issue

Installation

Add this line to your Gemfile:

gem 'danger-jira'

Usage

// Dangerfile
jira.check(
  key: ["KEY", "PM"],
  url: "https://myjira.atlassian.net/browse",
  search_title: true,
  search_commits: false,
  search_branch: false,
  search_body: false,
  fail_on_warning: false,
  report_missing: true,
  skippable: true
)

With "KEY-123" in the PR title or PR body, Danger will comment with:

Messages
📖 📎 KEY-123

Generated by 🚫 Danger

Skipping

You can skip danger checking for a JIRA issue by if no-jira is provided on the PR title, description or commits. nojira is also allowed on branch names.

License

MIT