Easily open an issue on Atlassian's Jira issue tracker from the CLI.
$ brew tap thoran/tap
$ brew install jira
Ensure that the Atlassian subdomain for your project, the preferred application, and profile to be used is configured in ~/.config/jira.rb like so:
{
subdomain: 'subdomain',
application: 'Google Chrome', # The default is the system setting, so this is optional.
profile: 'Profile 1' # The default is 'Default', so this is optional.
}
a. If the branch name begins with the Jira issue id one may simply do:
$ jira
b. Or, if the branch name doesn't begin with the Jira issue id or one is on a different branch one may specify the issue id thusly:
$ jira <ticket_id>
- Fork it...
https://github.com/thoran/jira/fork
- Create your feature branch...
git checkout -b my-new-feature
- Commit your changes...
git commit -am 'Add some feature'
- Push to the branch...
git push origin my-new-feature
- Create a new pull request