14 ms·
JiraCLI
- 0xbadcafebee 4y agoJiraCLI's functionality is limited right now because of limitations in the code. If you're a Go programmer and use Jira a lot, please consider donating your time to help clean it up. I had to write a patch to be able to query items in multiple projects (and I don't even know Go! :-)
- qrybam 4y agoThis brings back some memories. Long ago worked at BIGCORP which utilised JIRA for everything, including time logging in non-revenue generating teams. It was a time consuming activity everyone had to suffer. We spent around 30mins at the end of each day doing this, most of that time spent on selecting the right drop-downs. It was some PTSD inducing work and I couldn't put up with it any longer so I wrote a CLI utility in python where I'd track my work throughout the day, a simple one-liner of the work I did with some hashtags for routing to the right project/client. At the end of the day I would "process" my entries by typing one command which ran chrome+selenium automation to do the work for me. [edit] From memory, API use wasn't allowed which is why I had to take this route - it was also a great conversation starter for anyone passing by while it ran. I saved a tonne of time and aggravation, others noticed, so I set them up with the same. A nice byproduct of this: all the entries were also kept in a local sqlite database which allowed you to quickly search and find answers for follow-ups without touching JIRA, all with a few characters in the terminal.
- pokstad 4y agoDoes this work with Jira cloud version or the on-prem one? Unfortunately there is a split set of features and thus different APIs for Atlassian products.
- tra3 4y agoWorth mentioning that Emacs has org-jira if you want text mode jira. https://github.com/ahungry/org-jira https://github.com/ahungry/org-jira
- kbd 4y agoI wan't happy with any of the existing tools so I started writing my own using https://github.com/andygrunwald/go-jira https://github.com/andygrunwald/go-jira JiraCLI seems to spend most of its code budget translating in between CLI args and JQL; that's the easy part. Because every org uses Jira differently, it seems hard to write a generic tool that works well with your org.
- andygrunwald 4y agoAuthor of https://github.com/andygrunwald/go-jira https://github.com/andygrunwald/go-jira here: This lib is maintained, still a bit out of date and has a few flaws. Like using the same client for JIRA Cloud and JIRA OnPremise (different APIs). But most of the flaws have been evolved over time, while Atlassian switched strategies. I am preparing a roadmap for v2 where I implement a lot of reliability features, like context support, but also separate APIs for OnPremise and Cloud and easier access for custom fields. Watch the github repo if you want to stay up to date.
- psalminen 4y agoInteresting, I've been working on the same thing (with the same name)! Since I developed it at work, I had been waiting on corporate approval to open source it. Edit: I wanted to say I definitely gained some inspiration by looking at yours.
- sieabahlpark 4y ago
- whoomp12342 4y agoI see partial windows support, is that just running through docker?
- philipwhiuk 4y agoJIRA one-liners I understand (e.g. `jira close issue ABC-123`). A TUI always feels like terminal fetishism to me.
- VectorLock 4y agoWhats wrong with terminal fetishism?
- prmoustache 4y agoIf it allows you to work without losing 5 to 10 seconds at every click you do on jira, I don't call that fetichism. Part of the reason a lot of work is never logged anywhere is because the tools are way too slow/cumbersome to be pleasant to use by users and this is a problem for every corp. It is not solving the same problem but back when we were working more with pets than cattles I worked for a company that had a nice tool installed on every solaris and linux machines, it allowed you by a single command to say exactly what you were about to do or what you had already done and why. Everything ended up in a remote database with a simple but efficient dashboard allowing you to know the history of every server. I think you could also attach the output of the script command. Adoption was great because it was quick and easy to do. I wish I could remember the name, I wouldn't use that at work anymore but for personal log and homelab it would be nice. I guess nowadays I could just do that using logger or create a shell function that send a json to an elasticsearch or solr instance for easy indexation.
- nikolay 4y agoThis redraws the entire screen when you do `jira issue list` - it's flickering so badly!
- kmdpl 4y agoThis is fixed in the latest release. Surprisingly, no-one complained about this so far!
- TheMightyLlama 4y agoI originally created a gist with a bunch of curl commands that were difficult to figure out due to poor documentation. So it’s good to see someone creating a cli. My original curl commands: https://gist.github.com/TheMightyLlama/9427202 https://gist.github.com/TheMightyLlama/9427202
- mnd999 4y agoLooks great, but do peoples IT security policy’s actually let you use tools like this? Unofficial clients for things like Jira and Slack are basically banned for me. I can sorta see why, realistically I’m not gonna audit this and see if it’s going to slurp all my Jiras when I’m not looking.
- brinox 4y agoDo you also audit / control web browsers the clients are using?
- comprev 4y agoYes - I can install Chrome and Firefox via a remote install system because the client's laptop is locked down so tight I can't do it any other way. All software, including open source, technically needs to get approved by a security team.
- creativenolo 4y agoFrom my experiences of Jira at scale, yes.
- KronisLV 4y ago> Do you also audit / control web browsers the clients are using? Certain places do, actually. That's why lots of enterprise software was stuck having to support IE just a few years back (and probably still in some places that haven't caught up). I've seen demands towards certain features working on Edge/Chrome in particular even if it would break something in Firefox, which might be preference of the end users but also corporate policy towards using known software in certain places. I'm sure that you're still likely to run into plenty of environments where something like Edge might be the only allowed browser.
- sverhagen 4y ago>lots of enterprise software was stuck having to support IE just a few years back Yep, and talking about Jira, they only ended that support in March 2020. And wow, according to Wikipedia, Microsoft still supports Internet Explorer on some non-consumer Windows flavors. Today. I find that actually pretty stunning, must be a huge liability to be running web-apps that breaks on non-IE, because that can't then be the only aspect at which it's still stuck in the stone ages.
- wodenokoto 4y agoA great interface to Jira (one can dream) would be a few folders representing backlog, sprint and maybe some other views. Each task is a yaml file and hooked up to your text editor is a language server that can talk to Jira and do autocomplete against @username, Jira ticket ids, etc. Sync on save. I’m sure there’ll be all sorts of problems I haven’t forseen, but one can dream of editing task as quickly as editing your personal markdown notes.
- dflock 4y agoA FUSE FileSystem for JIRA - I'd love that! No idea if this still works, but this project exists: https://github.com/MaZderMind/jirafs https://github.com/MaZderMind/jirafs It uses this, which is maintained, for talking to JIRA, so maybe: https://github.com/andygrunwald/go-jira https://github.com/andygrunwald/go-jira
- dflock 4y agoSeems like it's too out of date to build as-is. Would need to be updated by someone who knows go.
- andygrunwald 4y agoAuthor of https://github.com/andygrunwald/go-jira https://github.com/andygrunwald/go-jira here: This lib is maintained, still a bit out of date and has a few flaws. Like using the same client for JIRA Cloud and JIRA OnPremise (different APIs). But most of the flaws have been evolved over time, while Atlassian switched strategies. I am preparing a roadmap for v2 where I implement a lot of reliability features, like context support, but also separate APIs for OnPremise and Cloud and easier access for custom fields. Watch the github repo if you want to stay up to date.
- yencabulator 4y ago> Sync on save. Concurrent edits will ruin your day.
- mcqueenjordan 4y agoI think https://github.com/ahungry/org-jira https://github.com/ahungry/org-jira gets you pretty close to what you want, if you're open to using emacs + org-mode.
- janci 4y agoNice! Does it work with Tempo?
- smlx 4y agoI wrote a tool that allows me to avoid the terrible Tempo web UI - you might be interested: https://github.com/smlx/jiratime https://github.com/smlx/jiratime
- TruthWillHurt 4y agoI'd love to see command piping into JiraCLI, So I can do `rm -rf / | jiracli`
- JuanTono 4y agoNice, can this be connected with Bitbucket from Atlassian? I think that would be the real killer feature bc you could automate the clean up and managing of branches based on the state of a story, bug, task in Jira.
- lambic 4y agoI use GoJira for this (https://github.com/go-jira/jira https://github.com/go-jira/jira) and I'm mostly happy with it. Gojira is the original name of Godzilla and the name of a heavy metal band so I always have to include "github" when I search for it.
- aleksiy123 4y agoA very good metal band, would recommend. Jira not so much.
- blindman 4y ago> Gojira is the original name of Godzilla and the name of a heavy metal band so I always have to include "github" when I search for it. Which is also where Jira's name originates https://en.wikipedia.org/wiki/Jira_(software)#Naming https://en.wikipedia.org/wiki/Jira_(software)#Naming
- saghm 4y ago> The product name comes from the second syllable of the Japanese word pronounced as Gojira, which is Japanese for Godzilla. Interesting, I would have thought "jira" was two syllables, but I know absolutely nothing about Japanese, so I assume this is correct and the pronunciation rules are just not what I'm used to from English.
- zumu 4y ago> I would have thought "jira" was two syllables It is in fact two syllables. Fun fact: Gojira is the combination of 'Go' of 'Gorilla' and 'jira' of 'kujira' (whale). It is said, kujira comes from the combination of old Japanese 'ku' (black) and 'shira' (white) aka 'black white' after the coloration of killer whales. So at some level Jira derives from the word "white". I could probably trace back the roots for shira a bit, but I need to get some work done.
- layer8 4y ago“Dzi” is a nonstandard romanization for “ji”, both spellings refer to the same Japanese syllable “ジ”. Similarly for “lla” vs. “ra” (Japanese “ラ”). Thus both spellings “Godzilla” and “Gojira” refer to the same Japanese word “ゴジラ”. Here’s how it sounds like in Japanese: https://forvo.com/word/gojira/ https://forvo.com/word/gojira/
- layer8 4y agoIt would be nice if someone would pick up development on “Client for Jira”: https://almworks.com/jiraclient/overview.html https://almworks.com/jiraclient/overview.html
- Jedd 4y agoI've been happily using the Jira Assistant browser extension [0] to try to work around the myriad and manifest shortcomings of Jira. It addresses some of them (such as information density on the screen, much more customisable reports). As others in this thread have alluded to -- corporate security policies can, right or wrong, bring down the banhammer on these types of tools, which can be doubleplusfrustrating given the native features are so user-hostile. [0] https://github.com/shridhar-tl/jira-assistant https://github.com/shridhar-tl/jira-assistant