aarcro / versionone-to-jira-reflector

Create/update a JIRA ticket to match VersionOne stories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VersionOne to JIRA Reflector

This is a little utility you can use for creating/updating JIRA issues matching one's VersionOne stories.

Installation

Using pip:

pip install --allow-external elementtree --allow-unverified elementtree versionone-to-jira-reflector

If you're wondering what the --allow-external elementtree and --allow-unverified elementree lines are about: This program relies upon the Python SDK released by the VersionOne team (albeit, an unofficial distribution of it), and that SDK relies upon elementree which is unavailable through verified/local PyPI sources.

Use

The first time you run the command, it will ask you for various bits of information that it will use for interacting with VersionOne and JIRA.

Basic use:

v1tojira D-08248

The app will proceed to ask you for connection information if such details have not previously been saved, and will create or update a JIRA issue to match your V1 story with the story identifiers you have supplied.

Note

All configuration data except passwords will be written to ~/.versionone-to-jira-reflector should you need to edit it after saving. Passwords will be queried from (and saved to) the system keyring.

Note that you can run this command for multiple stories simultaneously, too:

v1tojira D-01084 B-08244 B-08084

And that you can prevent a web-browser tab from being opened for each created or updated ticket:

v1tojira --no-open D-01084 B-08244 B-08084

See v1tojira --help for more information.

Caveat Emptor

Although this is a totally workable solution, this was mostly a quick hack to solve a temporary need, and it isn't exactly code that I'm proud of. If you end up using this tool, feel free to fork this code and clean things up to your liking.

About

Create/update a JIRA ticket to match VersionOne stories

License:MIT License


Languages

Language:Python 100.0%