Skip to main content

Jirit is for getting stuff from Jira and Github.

Project description

Jirit

A simple module and scripts for transitioning Jira tickets based on Github commit messages.

Usage

Export environment settings for:

JIRA_EMAIL <Jira login email> JIRA_PASSWORD <Jira login password> JIRA_URL <Jira url, eg “https://org_name.atlassian.net” > JIRA_ID <The Jira id added before ticket numbers, eg TT for TT-1234> GIT_USERNAME=<Github username> GIT_PASSWORD=<Github password> GIT_ORG=<organization or username for the Github project, eg l33tnom for https://github.com/l33tnom/foobar> GIT_REPO=<project name, eg foobar in the GIT_ORG example above>

Show Jira tickets based on git change

jirit show <commit_hash_from> <commit_hash_to>

Transition Jira tickets based on git change

jirit deploy <commit_hash_from> <commit_hash_to> <transition name> <match tag> <dry run>

This will trigger the <transition name> for Jira ticket if there is a git commit referenced in the git commit range, and the commit includes the tag #<match tag>. If the <dry run> flag is true then it will only display the possible transitioned issues without doing the Jira transition.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jirit-1.3.5.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

jirit-1.3.5-py2-none-any.whl (5.5 kB view details)

Uploaded Python 2

File details

Details for the file jirit-1.3.5.tar.gz.

File metadata

  • Download URL: jirit-1.3.5.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jirit-1.3.5.tar.gz
Algorithm Hash digest
SHA256 1be1c88daef89293d3bd4abbb4623f67b06c67a552ba033a966006fcda2a3cee
MD5 d29bb475e3476b17b227495c96a4939b
BLAKE2b-256 4979e0a0444530ecd27d3bbaefdfdbd190b184bf4f1361bbad29c46cbb867ea8

See more details on using hashes here.

File details

Details for the file jirit-1.3.5-py2-none-any.whl.

File metadata

File hashes

Hashes for jirit-1.3.5-py2-none-any.whl
Algorithm Hash digest
SHA256 adabe57d2672585c85648f20c6d6b346adb9dede8421ced469c34c8a0edf46e6
MD5 6ba9dbdd9ff0e760c0228fea96085d63
BLAKE2b-256 1b2fe343c56fdd1c5e023d4c3b5b63620c45cd7d04b730ae2effda0770f82630

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page