Redirecting “mobile” JIRA links to GitHub issues

Links to the old JIRA bug system are redirected to GitHub issues. However, that does not work correctly for links of the form

https://bugs.swift.org/plugins/servlet/mobile#issue/SR-NNNN

which are present in some Stack Overflow threads or GitHub conversations, e.g. here Encountered EXC_BAD_ACCESS in dispatch(ReSwiftInit()) on Xcode 11.2 · Issue #430 · ReSwift/ReSwift · GitHub.

For example https://bugs.swift.org/plugins/servlet/mobile#issue/SR-11564 is redirected to https://github.com/apple/swift/issues/#issue/SR-11564, but that displays just the list of all issues.

The correct target would be https://github.com/apple/swift/issues/53969.

It is not a big problem, but perhaps the redirection mechanism can be extended to handle these links as well?

(I wasn't sure under which category this should be posted, anybody feel free to move it to the right place.)

3 Likes

cc @michal_shah