Skip to main content

B.JiraFilter

A CLI based scripts library to interact with JIRA API. Not all actions are implemented in JIRA UI, therefore, we have created this library with custom logic and custom functionality that can be used by anyone.

Description

Sometimes it is more convenient and straight-forward to do stuff via CLI rather than via UI. Also, the JIRA UI can not support every single functionality possible, therefore, for custom logic and custom commands we have developed this CLI based library. Scroll down to see what are the available custom logic commands.

Remarks

Biomapas aims to modernise life-science industry by sharing its IT knowledge with other companies and the community. This is an open source library intended to be used by anyone. Improvements and pull requests are welcome.

  • Python 3
  • JIRA
  • JIRA Python SDK

Assumptions

The project assumes the following:

  • You have basic knowledge in JIRA software.

Useful sources

Install

The project is built and uploaded to PyPi. Install it by using pip.

pip install b-jira-filter

Or directly install it through source.

pip install .

Usage & Examples

This section shows what are the available commands and how to use them.

Credentials management

The library has a flexible credentials management.

You can pass credentials to the constructor:

from b_jira_filter.objects.credentials import Credentials

Credentials(
    username='Username',
    password='Password',
    server='Server'
)

Or you can set the OS environment:

from b_jira_filter.objects.credentials import Credentials

Credentials()
export/set JIRA_USERNAME=Username
export/set JIRA_PASSWORD=Password
export/set JIRA_SERVER=Server

Or you can enter these value manually in a prompt:

from b_jira_filter.objects.credentials import Credentials

Credentials()
(venv) > jira.sprints.storypoints
Username: ...
Password: ...
Server: ...

Commands

The library exposes CLI commands:


jira

Use this command to see what are available different commands and sections.

(venv) > jira

Available sections:
- sprints

jira.sprints

Use this command to see what are available different commands and sections in sprints section.

(venv) > jira

Available commands:
- storypoints

jira.sprints.storypoints

Use this command to calculate story points for each assignee in any sprint. For example:

(venv) > jira.sprints.storypoints

Select a board (1-2):

1. TEST1 board
2. TEST2 board

Board number[Default 1]:

> ENTER

Select a sprint (1-2):

1. TEST Sprint 1
2. TEST Sprint 2

Sprint number[Default 2]:

> ENTER

----------------------------------------------------------------

Dev 1   : Total:  68 | Completed:  21( 30.9%) | Not completed:  47( 69.1%).
Dev 2   : Total:  61 | Completed:  21( 34.4%) | Not completed:  40( 65.6%).

----------------------------------------------------------------

Testing

Currently this package has no tests.

Contribution

Found a bug? Want to add or suggest a new feature?
Contributions of any kind are gladly welcome. You may contact us directly, create a pull-request or an issue in github platform. Lets modernize the world together.

Metadata

Release files for b-jira-filter 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for b-jira-filter 0.0.4
File Size Uploaded Provenance
b_jira_filter-0.0.4.tar.gz 10.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for b-jira-filter 0.0.4
File Interpreter ABI Platform
b_jira_filter-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 22.4 kB

Release files / b_jira_filter-0.0.4.tar.gz

Download URL b_jira_filter-0.0.4.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
33a6b191edfe1088069be2aa688b60457ee154001804fd71bda4402489d6a527
BLAKE2b-256 checksum
How to use checksums
69852ea452756a936ff8afaddc419da2b39958fd635aa10f1cf47886a83c2298
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6

Release files / b_jira_filter-0.0.4-py3-none-any.whl

Download URL b_jira_filter-0.0.4-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4222a724158b34c9c91eed1a83fd27d453bdb244e392980b780c0d941710603b
BLAKE2b-256 checksum
How to use checksums
0720c96a17a608c58a3708865d307fff61aebbea0375123d215e7eda888949d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.6

Security for b-jira-filter 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page