Giter Club home page Giter Club logo

ops-watcher's Introduction

OPS Watcher

A tool that sends MacOS push notifications for updates to JIRA tickets

Installation with homebrew

Enable the custom tap

brew tap petetanton/ops-tools
==> Tapping petetanton/ops-tools
Cloning into '/usr/local/Homebrew/Library/Taps/petetanton/homebrew-ops-tools'...
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 4 (delta 0), reused 4 (delta 0), pack-reused 0
Unpacking objects: 100% (4/4), done.
Tapped 1 formula (27 files, 24.7KB).

Install ops-watcher

brew install ops-watcher
==> Installing ops-watcher from petetanton/ops-tools
==> Downloading https://github.com/petetanton/ops-watcher/releases/download/0.0.1/ops-watcher-darwin-amd64.zip
๐Ÿบ  /usr/local/Cellar/ops-watcher/64: 3 files, 12.2MB, built in 4 seconds

Configuration

The app looks for an ops-watcher.yaml file which should contain the following:

jira_username: [email protected]
jira_password: jiraapikey
jira_baseurl: https://example.atlassian.net
jira_enabled: true
jira_query:
  - <as many JQL queries as you like without and filters by date>
  - watcher = currentUser()

Alternatively, the config can contain a field called jira_token which if present will take preference over user name and password for bearer auth style communication with Jira

When the app runs, it queries the JIRA API every minute for each JQL query in the configuration.
If a new issue has been raised or updated for any of those queries since the last run, a Mac OS push notification is sent using the terminal-notification command.

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.