Hi all, I'd like to propose moving TinkerPop's issue tracking from JIRA to GitHub Issues, migrating our existing JIRA history along with it.
Our code, PRs and reviews already live on GitHub, but our issues live in a separate system. Contributors need an ASF JIRA account to report or comment on an issue, and new accounts now have to be requested rather than created on the spot. That's a real barrier for first-time reporters, most of whom already have a GitHub account. With issues on GitHub, issues and PRs link to each other automatically, a PR can close the issue it fixes, and everything is searchable in one place. Other ASF projects have made the same move, including Maven, Arrow and Beam. To show what the result would look like, I ran a trial migration of the 250 most recent JIRA issues (TINKERPOP-3074 to TINKERPOP-3323) into my personal fork: https://github.com/Cole-Greer/tinkerpop/issues == Tooling The trial uses the tool Apache Maven used for its own JIRA migration (https://github.com/support-and-care/jira-to-gh-issues), with a TinkerPop-specific configuration. It runs as a dedicated GitHub App, so migrated issues and comments are posted by a "blueprintsmigrator" bot account. Each issue and comment credits its original JIRA author and links back to the JIRA issue. == How JIRA maps to GitHub Issues 1. Content and history. Each issue keeps its title (prefixed with the JIRA key, e.g. "[TINKERPOP-3223] ..."), description and comments, converted from JIRA markup to Markdown. Original created and closed dates are preserved. Issues resolved as Won't Fix, Cannot Reproduce, Not A Problem, etc. are closed as "not planned". 2. Metadata goes in the description. Every migrated issue ends with a details section listing type, priority, status/resolution, assignee, components, JIRA labels, affects versions, fix versions, environment, attachments, issue links and pull requests. 3. Labels are limited to two kinds: - "bug". Improvement, New Feature and other issue types get no label. - Components. These reuse the labels we already have on apache/tinkerpop (javascript, python, go, ...). The other components get labels of the same name (process, language, server, ...). Priority and JIRA labels are kept in the details section only. https://github.com/Cole-Greer/tinkerpop/issues?q=is%3Aissue+label%3Abug https://github.com/Cole-Greer/tinkerpop/issues?q=is%3Aissue+label%3Aprocess 4. Milestones. Each issue closed as Fixed or Done is put on the milestone of its earliest fix version, following the convention proposed below. Open issues and issues closed as "not planned" get no milestone. All fix versions are still listed in the details section. https://github.com/Cole-Greer/tinkerpop/milestones?state=closed 5. Assignees. Where we know a JIRA user's GitHub account, the migrated issue is assigned to that account. The trial only maps my own account, so most trial issues are unassigned. A final run would map all committers, and the JIRA assignee is always listed in the details section either way. Two caveats: - GitHub assigns issue numbers in the order the import finishes, so migrated issue numbers are not in JIRA key order. Every title keeps its JIRA key. - Issues and PRs share one number sequence on GitHub, so migrated issues will be numbered after our existing PRs. == Replacing "Fix Version" We've used JIRA's Fix Version to filter issues by release and to generate the Bugs / Improvements lists in CHANGELOG.asciidoc. I propose replacing it with one GitHub milestone per release (3.7.8, 3.8.3, 4.0.0, ...): - An issue's milestone is the earliest release containing the fix. Since we merge forward, later releases include it too, as our CHANGELOG already notes ("This release also includes changes from 3.7.6"). - Whoever merges the fix and closes the issue makes sure the milestone is set. A reporter may set one earlier to track an issue for a release. - At release time, open issues left on the milestone are closed or moved to a later one. - Milestones go on issues only, not PRs. - Release notes come from the milestone, split by the "bug" label: gh issue list --milestone 3.7.8 --state closed --json number,title,labels == Notable examples from the trial - Long discussion thread: https://github.com/Cole-Greer/tinkerpop/issues/731 - Linked JIRA issues and multiple PRs: https://github.com/Cole-Greer/tinkerpop/issues/632 - Many PR updates condensed to one "Pull requests" line (the JIRA issue has 78 GitHub bot comments, which are dropped): https://github.com/Cole-Greer/tinkerpop/issues/760 - Attachments and an open issue with ongoing discussion: https://github.com/Cole-Greer/tinkerpop/issues/544 - Code blocks in the description: https://github.com/Cole-Greer/tinkerpop/issues/699 - A table: https://github.com/Cole-Greer/tinkerpop/issues/687 - Closed as a duplicate, linked to the original: https://github.com/Cole-Greer/tinkerpop/issues/735 - Closed as "not planned" (Cannot Reproduce): https://github.com/Cole-Greer/tinkerpop/issues/669 Let me know if you have any thoughts on the migration. If there are no objections, I will proceed with undertaking the full migration in the main repo. Thanks, Cole
