Giter Site home page Giter Site logo

osowskit / jira-link-updater Goto Github PK

View Code? Open in Web Editor NEW
8.0 4.0 3.0 37 KB

GitHub App that replaces JIRA IDs in Issue comments with a URL to the JIRA issue

Home Page: https://github.com/apps/jira-link-updater

Ruby 100.00%
github-app jira github-enterprise

jira-link-updater's Introduction

Overview

Ever add a JIRA ticket id to an Issue or Pull Request and wish it would link directly to the ticket. This GitHub App replaces JIRA IDs in comments with a URL to the JIRA issue. ๐ŸŽ‰

End User Instructions

Instructions to configure GitHub.com repositories.

  1. Visit jira-link-updater app and grant it access to your repositories.
  2. Add a configuration file to each repository to set a path to your JIRA instance.
    • Filename: JIRA_SETTINGS.yaml
    • Example:
    jira_hostname: "https://[SERVERNAME].atlassian.net"
    
  3. New Pull Requests and Issue comments with the format [XYZ-123] will be replaced with a hyperlink to the JIRA issue.

GitHub Enterprise Instructions

  1. Set up a new GitHub App on your GitHub Enterprise +2.12 instance.
    • Issues permissions - Read and Write
    • Pull requests permissions - Read and Write
    • Subscribe to events
      • Issues
      • Pull request event subscription
      • Issue Comments
  2. Host this application on a network that allows traffic to/from the GitHub Enterprise instance. ruby server.rb
  3. Install the App and grant it access to your repositories.
  4. Add comments to Issues and Pull Requests in the format [XYZ-123] to be replaced with a hyperlink

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.