NAME

git-jira - Checkout any branch mentioning the passed Jira

VERSION

This documentation refers to git-jira version 1.1.2

SYNOPSIS

  git-jira [option] JIRAID

OPTIONS:
 JIRAID        A Jira format id
 -u --url[=]URL
               Use URL as the JIRA instance for looking up summaries.
 -l --list     Just list found branch(es) don't checkout
 -q --quiet    Don't inform how to create missing branch

 -v --verbose  Show more detailed option
    --version  Prints the version information
    --help     Prints this help information
    --man      Prints the full documentation for git-Jira

DESCRIPTION

Finds any branch containing the passed Jira issue id and switches to that branch. If none is found then it suggests creating the branch using git-feature. If JIRA::REST is installed the suggestion will use the JIRA summary as part of the name.

SUBROUTINES/METHODS

run ()

Executes the git workflow command

which_branch (@branches)

Ask the user which branch to switch to

label ($branch)

Adds user and time to a branch unless --quiet used

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

Defaults for this script can be set through git config

jira.url       Specifies the URL for the JIRA instance being used.

You can set these values either by editing the repository local .git/config file or ~/.gitconfig or use the git config command

# eg Setting the local value (ie only the current repository)
   git config jira.url https://jira.example.com/

# eg Setting the global value
   git config --global jira.url https://jira.example.com/

DEPENDENCIES

INCOMPATIBILITIES

BUGS AND LIMITATIONS

There are no known bugs in this module.

Please report problems to Ivan Wills (ivan.wills@gmail.com).

Patches are welcome.

AUTHOR

Ivan Wills - (ivan.wills@gmail.com)

LICENSE AND COPYRIGHT

Copyright (c) 2014 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.