Git Product home page Git Product logo

jira-issues.spoon's Introduction

Jira Menu Bar App

GitHub issues GitHub all releases

Shows a list of Jira tickets assigned to a user and grouped by a status. It's also possible to transition selected ticket to a different status.

By default it shows a list of tickets returned by a following JQL:

assignee=currentuser() AND resolution=Unresolved

In order to show a different list (for example issues from the backlog or issues with a label) go to Jira's advanced search, construct a query and use it in the app's config.

Installation

  • install Hammerspoon - a powerfull automation tool for OS X

    • Manually:

      Download the latest release, and drag Hammerspoon.app from your Downloads folder to Applications.

    • Homebrew:

      brew install hammerspoon --cask

  • download jira-issues.spoon, unzip and double click on a .spoon file. It will be installed under ~/.hammerspoon/Spoons folder.

  • open ~/.hammerspoon/init.lua and add the following snippet, with your parameters:

-- JIRA
hs.loadSpoon('jira-issues')
spoon['jira-issues']:setup({
    jira_host = 'https://jira.tmnt.ca',
    login = 'mikey',
    api_token = 'cowabunga123',   
})
spoon['jira-issues']:start()

or, if you want to have a custom list of issues:

-- JIRA
hs.loadSpoon('jira-issues')
spoon['jira-issues']:setup({
    jira_host = 'https://jira.tmnt.ca',
    login = 'mikey',
    api_token = 'cowabunga123',
    jql = 'project = TMNT AND status = Open AND assignee in (EMPTY)'
})
spoon['jira-issues']:start()

Here is atlassian documentation on how to get an API token: Manage API tokens for your Atlassian account. In case you are using an old version of Jira, simply put your password instead of an API token.
This app uses icons, to properly display them, install a feather-font by downloading this .ttf font and installing it.

jira-issues.spoon's People

Contributors

actions-user avatar streetturtle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jira-issues.spoon's Issues

Transition sub-menus are not showing

Issue
When loading the jira-issues spoon and viewing entries, I cannot see the sub-menu with the transitions available.
Clicking on an entry opens the issue in Jira.
Hovering over the entry does nothing.
 

Troubleshooting done

  • I have tried removing and re-creating the spoons
  • I have re-installed Hammerspoon from both their website and using Brew
  • I have checked I have the correct fonts etc. installed [Note: feather font throws an error as it needs to be called using 'icomoon' and not 'feather' in ("jira-issues.spoon/init.lua")]
  • I configured the jql query string to reference an existing filter and provided the filter string within init.lua, and have run it as default without any jql defined
  • I have confirmed that transitions exist with Jira for the tickets I am pulling into Hammerspoon (see below)
     

Additional info
Console logs show the following for each issue loaded:
2024-05-28 13:35:54: 13:35:54 ERROR: LuaSkin: hs.http connectionDelegate:didFinishLoading: /Users/chill/.hammerspoon/Spoons/jira-issues.spoon/init.lua:80: attempt to index a nil value

Line 69 in init.lua seems to reference:
hs.http.asyncGet(transitions_url, {Authorization = auth_header}, function(status, body)
 

Screenshots

  • Screenshot showing Jira ticket that has transitions that don't show as sub-menus in the Spoon
    SCR-20240528-mlin

  • Screenshot showing the transitions available
    SCR-20240528-mthg
     

System

  • macOS Sonoma 14.5
  • Apple M1 Pro
  • Memory 16 GB
  • Chrome: Version 125.0.6422.113 (Official Build) (arm64)
  • Hammerspoon: Version 0.9.100 (6815)
    SCR-20240528-mqhu

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.