Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jira API Python

Requirements

  1. Python >= 3.11
  2. Windows powershell or Linux shell terminal
  3. Jira URL

How to use it ?

Generate Personal Access Token

  1. Login to Jira with your account

  2. Click on your Avatar from top right corner --> Click on profile

  3. Click on Personal Access Tokens

  4. Create Token

  5. COpy the token and keep it safe and secure

Install modules and dependencies

# To create and activate virtual environment
# virtualenv .venv
# source .venv/bin/activate
# .venv\Scripts\activate.ps1 # For windows powershell

# Install modules and dependencies
pip install -r requirements.txt

Run the python script

  1. Update .env file with your credential and jira server details
cp .env.example .env
 # Update .env file
  1. Run the script
python fetch_logged_hours.py --username "<username>" --startdate "<yyyy-mm-dd>" --enddate "<yyyy-mm-dd>"

About

Some commonly needed Jira operation using python

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages