https://github.com/martincastroalvarez/python-jira-cli
Python integration with JIRA.
https://github.com/martincastroalvarez/python-jira-cli
cli jira python3
Last synced: 11 months ago
JSON representation
Python integration with JIRA.
- Host: GitHub
- URL: https://github.com/martincastroalvarez/python-jira-cli
- Owner: MartinCastroAlvarez
- Created: 2019-04-17T19:06:53.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-08T01:13:49.000Z (over 3 years ago)
- Last Synced: 2025-04-08T22:25:38.776Z (about 1 year ago)
- Topics: cli, jira, python3
- Language: Python
- Homepage: https://martincastroalvarez.com
- Size: 67.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Opal
*JIRA CLI*

## Installation
```
git clone ssh://git@github.com/MartinCastroAlvarez/opal
cd opal
virtualenv -p python3 env
source env/bin/activate
pip install -r requirements.txt
```
## Configuration
Put the following content in *$HOME/.opal*
```
{
"account": "my_company",
"username": "###########@my_company.com",
"password": "####",
"project": "RXRM"
}
```
## Usage
##### Search for work in progress in this sprint
```
python3 opal.py search --mine --active --sort-by "status"
```
##### Get ticket details
```
python3 opal.py details RXRM-2864
```
##### Search for all tickets by project
```
python3 opal.py search --project RXRM
```
##### Search for all tickets assigned to you
```
python3 opal.py search --mine
```
##### Search for all tickets in validation
```
python3 opal.py search --status "in validation"
```
##### Search for all tickets assigned to user
```
python3 opal.py search --status "in progress" --assignee "martin castro"
```
##### Search for all User Stories
```
python3 opal.py search --ticket-type "story" --assignee "martin castro"
```
##### Search for all bugs
```
python3 opal.py search --ticket-type "bug" --status "in progress"
```
##### Search for all tickets in this sprint sorted by status
```
python3 opal.py search --active --sort-by "status"
```
##### Search for all tickets in this sprint sorted by assignee
```
python3 opal.py search --active --sort-by "assignee"
```
##### Search for all tickets in validation in this sprint
```
python3 opal.py search --active --status "in validation" --sort-by "assignee"
```
##### Create a new bug.
```
python3 opal.py create --priority "high" --active --status "in validation"
```