0.0
No commit activity in last 3 years
No release in over 3 years
jira cli tool
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

JiraCommand

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file lib/jira_command. To experiment with that code, run bin/console for an interactive prompt.

TODO: Delete this and the text above, and describe your gem

Installation

Add this line to your application's Gemfile:

gem 'jira_command'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install jira_command

Usage

You need to get token in JIRA.

$ jira_command config create
> Please input your site url: https://<your-domain>.atlassian.net/
> Please input your registered email address: <example@xincere.jp>
> Please input your token: <token got in jira>

Commands:
  jira_command assign          # set or unset assign in issue
  jira_command config          # create or clear configuration
  jira_command help [COMMAND]  # Describe available commands or one specific command
  jira_command issue           # create a issue
  jira_command list            # list up issues
  jira_command sprint          # sprint related features
  jira_command status          # show all status in project
  jira_command transition      # transition issues
  jira_command user            # list all users
  jira_command version         # show version

if you want to cache items in your local to reduce api call, you can refer the following commands.

$ jira_command config help
Commands:
  jira_command config clear                              # clear config file
  jira_command config create                             # create config file
  jira_command config help [COMMAND]                     # Describe subcommands or one specific subcommand
  jira_command config update_it                          # update default issue_type in config file
  jira_command config update_projects                    # update default projects in config file
  jira_command config update_users p, --project=PROJECT  # update default users in config file

$ jira_command config help update_it
Usage:
  jira_command config update_it

update default issue_type in config file

$ bundle exec exe/jira_command config help update_projects
Usage:
  jira_command config update_projects

update default projects in config file

$ bundle exec exe/jira_command config help update_users
Usage:
  jira_command config update_users p, --project=PROJECT

Options:
  p, --project=PROJECT

update default users in config file

the most useful commands

$ jira_command list help my
Usage:
  jira_command list my

Options:
  c, [--current=CURRENT]
  u, [--unresolved=UNRESOLVED]

list your issues


$ jira_command list help my
Usage:
  jira_command list my

Options:
  c, [--current=CURRENT]
  u, [--unresolved=UNRESOLVED]

list your issues

$ jira_command transition help issue
Usage:
  jira_command transition issue

Options:
  c, [--current=CURRENT]
  m, [--mine=MINE]

transit issue status

$ jira_command assign help exec
Usage:
  jira_command assign exec i, --issue=ISSUE

Options:
  i, --issue=ISSUE
  ru, [--refresh-user=REFRESH-USER]

assign to user

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/jira_command. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the JiraCommand project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.