The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

git-jira - Checkout any branch mentioning the passed Jira

VERSION

This documentation refers to git-jira version 0.6

SYNOPSIS

git-jira [option] JIRAID
OPTIONS:
JIRAID A Jira format id
-r --remote Look in remote branches for the Jira branch
-a --all Look everywhere?
-u --url[=]URL Use URL as the JIRA instance for looking up summaries.
-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

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

Defaults for this script can be set thought git config

jira.url Specifiys 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.