I need a command line client for Jira. What would you recommend?


  • Open/close/comment a JIRA issue
  • OS: Ubuntu
  • preferably installable via apt
  • usable (not low level) interface
  • interactive mode (like jira-cli (JavaScript) provides)
  • browsing
    • issues
    • sprints
    • backlogs
    • etc.
  • searching in issues, comments
  • issus management
    • create issue
    • change issue state, etc.
    • close issue
  • issue editing
    • edit issue
    • comment on issue

Not required:

  • no need for helpdesk

Possible choices:

  • What operations should it cover? Open/close/comment a JIRA issue? Should it cover JIRA Helpdesk too? – Nicolas Raoul Nov 27 '18 at 11:15
  • @albert: Most of them do not satisfy the second requirement. – Nicolas Raoul Nov 27 '18 at 11:17
  • Strange my previous comment disappeared (I didn't remove it, at least to the best of my knowledge) Question was more or less whether or not OP had googled for "Command line client for Jira" ? and why the results provided are not OK for him. @NicolasRaoul I did expect indeed that the 2nd requirement was not fulfilled but I think this should have been more explicit (or explained why the default installation possibilities are not OK for OP). – albert Nov 27 '18 at 11:35
  • @albert: I actually deleted the comment per meta.stackexchange.com/questions/76195/… but don't hesitate to ask "Have you tried X and why was it not OK for you" if there are some obvious values of X. Cheers! :-) – Nicolas Raoul Nov 27 '18 at 11:49
  • @albert I already asked google. However StackExchange Software Recommendations is exactly about... well software recommendations given specific requirements :) – thinwybk Nov 27 '18 at 11:50

I would really recomend that you make some python script... This way you have much more controll over the logic of execution plus python is installed in ubuntu by default... And you get the bonus to learn a litle bit a programming in awesome python :)

I have been using this lib in production and has not failed me...

from jira import JIRA

api = JIRA(
    server="https://jira.atlassian.com", # company root jira address

jiraIssues = this.api.search_issues(f'project = MAB AND status = "TESTING"')

for jiraIssue in jiraIssues:

You can install it with this command...

pip install jira

You can even use it in shell :D

> $ jirashell -s http://jira.atlassian.com <JIRA Shell
> (http://jira.atlassian.com)>
> *** JIRA shell active; client is in 'jira'. Press Ctrl-D to exit.
> In [1]: issue = jira.issue('JRA-1330')
> In [2]: issue. issue.delete  issue.fields  issue.id      issue.raw    
> issue.update issue.expand  issue.find    issue.key     issue.self
> In [2]: issue.fields. issue.fields.aggregateprogress             
> issue.fields.customfield_11531 issue.fields.aggregatetimeestimate     
> issue.fields.customfield_11631
> issue.fields.aggregatetimeoriginalestimate 
> issue.fields.customfield_11930 issue.fields.aggregatetimespent        
> issue.fields.customfield_12130
  • Yeah, Python is awesome. However writing a script seemed avoidable overhead to me. go-jira seems most suitable for me right now. – thinwybk Jan 20 at 15:15

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.