Coder Social home page Coder Social logo

jirabot's Introduction

Jirabot

A Slack bot that watches any channel it's invited to for mentions of JIRA issues. If it sees one, it responds with a message consisting of:

ISSUE-1223: Issue summary
https://yourlocation.jira.com/browse/ISSUE-1223
Issue Status (Issue Type)

Setup

You'll need to configure a bot on Slack (fixme: Add setup link) and get your API token. Once you have that, set a new environmental variable SLACK_API_TOKEN. Additionally, you'll need to supply JIRA credentials and your JIRA enpoint address. This is because JIRA cloud doesn't support app tokens. Yeah, in 2016 you have to use basic auth if your app doesn't run through a browser.

For local development, you can do this with a .env file, which we've helpfully left out of this repo.

# ENV Sample
SLACK_API_TOKEN=yourtokengoeshere
JIRA_USER=jirauser_notemail
JIRA_PASS=jirapassword
JIRA_PREFIX=https://yourcompany.jira.com/

Running Locally

foreman start

This will open your connection to the Slack API, and your bot will be online. You can connect to it and chat with it directly (it'll behave the same way).

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.