mozilla / addons

☂ Umbrella repository for Mozilla Addons ✨
Other
123 stars 53 forks source link

Jira <-> Github sync is broken #1983

Open data-sync-user opened 5 months ago

data-sync-user commented 5 months ago

Problem

We currently use a very complicated setup for github/jira. There are 2 github repos with issues, and 3 Jira projects to track our work. We rely on a data synchronization mechanism to sync state and updates from github into jira.

Currently, the sync is almost never accurate. Some changes happen in Jira and are not synced to github, and some changes happen in github and are not synced to jira. It is virtually impossible to rely on either as an accurate source of truth for the state of our progress at any given time.

We should fix this. I’m not sure if that means that we fix the sync to perform better, or to simplify the architecture so we don’t need as much syncing in the first place..

Possible Solutions

  1. collapse number of repos/projects where we create issues. Maybe we could create a single github repository for our issues and sync this repo to 1 Jira project. This reduces the complexity of syncing as there are fewer repos to look at and fewer projects to sync to/from
  2. Remove one of the ticketing systems. We could say we only use Jira for tickets, or we only use github. There are reasons to say we should use either (github for community exposure and corporate consistency/visibility for jira) but we could decide on using just one system and then there is nothing to sync.
  3. Use a different or better syncing mechanism?
    1. what do we use now? I don’t even know? There are a few vendors available?
    2. we could make the sync simpler. instead of using labels and status to sync state we could just use the sync to synchronize data and use Jira to update statuses..

┆Issue is synchronized with this Jira Task

eviljeff commented 5 months ago

To add the list of known problems with our current sync (off the top of my head - there are probably more):

KevinMind commented 2 months ago

Old Jira Ticket: https://mozilla-hub.atlassian.net/browse/ADDSRV-673