Skip to content
Snippets Groups Projects

GH-style Jira DVCS endpoints return 404 by default

What does this MR do and why?

This MR makes all endpoints involved in the deprecated "GitHub-style" method of integrating with the Jira DVCS now return 404 by default.

The endpoints in API::v3::GitHub have been deprecated since 15.1.

Due to uncertainty about the impact of a full removal in 16.0, all endpoints return 404 by default but we allow customers to toggle a flag to reverse this breaking change.

See #362168 (comment 1347692683).

In future, we will make the breaking change irreversible #408148 (closed).

We can make a breaking change to /api/v3 endpoints - even though normal api/v4 endpoints cannot be removed in %16.0 - as the v3 endpoints are only used by Jira and are not part of our public API.

Documentation has already removed references to the GitHub Enterprise-style of the DVCS integration in !117581 (merged).

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #362168 (closed)

Merge request reports

Merged results pipeline #855442072 passed with warnings

Pipeline: GitLab

#855442116

    Pipeline: GitLab

    #855444598

      Pipeline: E2E Omnibus GitLab EE

      #855444926

        +1

        Merged results pipeline passed with warnings for 212fe5f6

        Test coverage 82.64% (15.10%) from 2 jobs

        Merged by Heinrich Lee YuHeinrich Lee Yu 1 year ago (May 3, 2023 8:03am UTC)

        Loading

        Pipeline #855562055 failed

        Pipeline: GitLab

        #855584762

          Pipeline: E2E Omnibus GitLab EE

          #855584751

            Pipeline: GitLab

            #855568516

              Pipeline failed for 4337ebfe on master

              Test coverage 68.34% (15.10%) from 2 jobs
              10 environments impacted.

              Activity

              Filter activity
              • Approvals
              • Assignees & reviewers
              • Comments (from bots)
              • Comments (from users)
              • Commits & branches
              • Edits
              • Labels
              • Lock status
              • Mentions
              • Merge request status
              • Tracking
            • Contributor
              1 Warning
              This MR changes code in ee/, but its Changelog commit is missing the EE: true trailer. Consider adding it to your Changelog commits.

              Reviewer roulette

              Changes that require review have been detected!

              Please refer to the table below for assigning reviewers and maintainers suggested by Danger in the specified category:

              Category Reviewer Maintainer
              backend Sylvester Chin current availability (@schin1) (UTC+8, 4 hours behind @.luke) Heinrich Lee Yu current availability (@engwan) (UTC+8, 4 hours behind @.luke)

              To spread load more evenly across eligible reviewers, Danger has picked a candidate for each review slot, based on their timezone. Feel free to override these selections if you think someone else would be better-suited or use the GitLab Review Workload Dashboard to find other available reviewers.

              To read more on how to use the reviewer roulette, please take a look at the Engineering workflow and code review guidelines. Please consider assigning a reviewer or maintainer who is a domain expert in the area of the merge request.

              Once you've decided who will review this merge request, assign them as a reviewer! Danger does not automatically notify them for you.

              If needed, you can retry the 🔁 danger-review job that generated this comment.

              Generated by 🚫 Danger

              Edited by Ghost User
            • Luke Duncalfe added 1 commit

              added 1 commit

              • 60e61e19 - GH-style Jira DVCS endpoints return 404 by default

              Compare with previous version

            • Luke Duncalfe
            • Contributor

              Allure report

              allure-report-publisher generated test report!

              e2e-package-and-test: test report for ed817ac7

              expand test summary
              +-----------------------------------------------------------------------+
              |                            suites summary                             |
              +------------------+--------+--------+---------+-------+-------+--------+
              |                  | passed | failed | skipped | flaky | total | result |
              +------------------+--------+--------+---------+-------+-------+--------+
              | Verify           | 108    | 0      | 8       | 90    | 116   | ❗     |
              | Manage           | 66     | 0      | 6       | 30    | 72    | ❗     |
              | Monitor          | 20     | 0      | 0       | 20    | 20    | ❗     |
              | Create           | 292    | 0      | 42      | 60    | 334   | ❗     |
              | Plan             | 120    | 0      | 0       | 64    | 120   | ❗     |
              | Data Stores      | 68     | 0      | 0       | 22    | 68    | ❗     |
              | Govern           | 92     | 0      | 0       | 92    | 92    | ❗     |
              | Package          | 0      | 0      | 6       | 0     | 6     | ➖     |
              | Analytics        | 4      | 0      | 0       | 4     | 4     | ❗     |
              | Secure           | 14     | 0      | 10      | 14    | 24    | ❗     |
              | Configure        | 0      | 0      | 6       | 0     | 6     | ➖     |
              | Fulfillment      | 4      | 0      | 44      | 0     | 48    | ✅     |
              | Release          | 12     | 0      | 0       | 8     | 12    | ❗     |
              | Growth           | 0      | 0      | 4       | 0     | 4     | ➖     |
              | ModelOps         | 0      | 0      | 2       | 0     | 2     | ➖     |
              | Framework sanity | 0      | 0      | 2       | 0     | 2     | ➖     |
              +------------------+--------+--------+---------+-------+-------+--------+
              | Total            | 800    | 0      | 130     | 404   | 930   | ❗     |
              +------------------+--------+--------+---------+-------+-------+--------+
              Edited by Ghost User
            • Luke Duncalfe added 1 commit

              added 1 commit

              • 73b46b6c - GH-style Jira DVCS endpoints return 404 by default

              Compare with previous version

            • Luke Duncalfe added 1 commit

              added 1 commit

              • 6fbf8b16 - GH-style Jira DVCS endpoints return 404 by default

              Compare with previous version

            • Luke Duncalfe requested review from @Andysoiron

              requested review from @Andysoiron

            • mentioned in issue #408148 (closed)

            • Luke Duncalfe added 1 commit

              added 1 commit

              • ed817ac7 - GH-style Jira DVCS endpoints return 404 by default

              Compare with previous version

            • Loading
            • Loading
            • Loading
            • Loading
            • Loading
            • Loading
            • Loading
            • Loading
            • Loading
            • Loading
            • Please register or sign in to reply
              Loading