Takes a JIRA issue and creates a git branch
Project description
JIRA 2 Branch
Takes a JIRA issue and creates a git branch
- Branch naming format is as follows:
- {CONVENTIONAL_COMMIT_PREFIX}/{ISSUE_ID}_{ISSUE_TITLE}
Requirements
Requires Python 3.8
Dev env
pip install pipenv
pipenv install
virtualenv venv
. venv/bin/activate
pip install --editable .
Afterwards, your command should be available:
$ jira2branch WT3-227
fix/WT3-227_some-jira-issue
Credentials
JIRA credentials will be fetched from [USER HOME]/.j2b/secrets.ini
with the following format:
[JIRA CREDENTIALS]
# url =
# email =
# username =
# password =
# token =
Usage
python main.py [JIRA_ISSUE_ID|JIRA_ISSUE_URL]
Examples
python main.py WT3-227
python main.py https://company.atlassian.net/browse/WT3-227
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jira2branch-0.1.2.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for jira2branch-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a511f0a33d1d80a47c52e5a9af0cc7f1f29c65ba6cb07875aa31f50c2557787 |
|
MD5 | c6760289ac900dbb3c1e73fdfabcb3ae |
|
BLAKE2b-256 | b5c09dd78d09b67a8c27bf7d1fb910ebfc694173826cd28e8d3b80c9e8f852f5 |