Skip to content

Repository files navigation

JIRA sync script

This script is created to sync issues from various ticket trackers to JIRA in unified way. Supports Pagure, GitHub, GitLab and Forgejo on Codeberg.

Features

  • Sync tickets from Pagure, GitHub, GitLab and Forgejo to JIRA
  • Check for closed tickets X days ago
  • Add story points to JIRA ticket based on labels on original tickets
  • Add assignee to ticket from map
  • Filter tickets to sync by labels
  • Filter tickets to sync by repository names/namespace
  • Add link to upstream ticket to ticket description
  • Mapping of states between original ticket and JIRA
  • Move ticket to blocked state based on label on original ticket

Installation

  1. Clone this repository
  2. Make sure you have poetry installed in your system
  3. Install the script with poetry install

Quickstart

  1. Rename config.example.toml to config.toml
  2. Fill config.toml with correct values (See Configuration section)
  3. Run the script with poetry run jira_sync sync-tickets

Configuration

Configuration for jira_sync is provided by configuration file in TOML format. By default jira_sync is using config.toml file in working directory. You can provide any other configuration file by using --config parameter. Config file is split to multiple sections, see https://github.com/Zlopez/jira_sync/blob/main/config.example.toml for more info.

About

Script for syncing tickets from various sources to JIRA project

Resources

Stars

2 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages