Skip to main content

Sync pagure and github issues to jira, via fedmsg

Project description

This is a process that listens to activity on upstream repos on pagure and github via fedmsg, and syncs new issues there to a Jira instance elsewhere.

Configuration

Configuration is in fedmsg.d/.

You can maintain a mapping there that allows you to match one upstream repo (say, ‘pungi’ on pagure) to a downstream project/component pair in Jira (say, ‘COMPOSE’, and ‘Pungi’).

On startup, if the initialize option is set to True in the fedmsg.d/ config, then all open issues from all downstream repos will be scraped and added to Jira if they are absent.

If the testing option is set to True, then the script will perform a “dry run” and not actually add any new issues to Jira.

Caveats

This program does not close Jira tickets when their corresponding ticket is closed upstream, although that would be cool.

This program does not attempt to copy comments from upstream tickets to their corresponding downstream tickets, although that would be cool.

Tests

We have decent test coverage.

Run the tests with:

$ sudo dnf install detox
$ detox

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

sync2jira-0.1.tar.gz (15.4 kB view details)

Uploaded Source

File details

Details for the file sync2jira-0.1.tar.gz.

File metadata

  • Download URL: sync2jira-0.1.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sync2jira-0.1.tar.gz
Algorithm Hash digest
SHA256 452b3a5b38798b602ff7a5c539a7dff9cc8270e4cfd04832c433387af862c0db
MD5 68e203e44b35c0b3031f49f73f2808f2
BLAKE2b-256 9e07f2bf1bcb0dc47665a24cd7f0d07ae0a891b5b1ee31ea40f48bf41730e890

See more details on using hashes here.

Supported by

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