If you have the root a Blue Ocean organization configured on a folder, the Blue Ocean from inside a job that isn't on the organization will return 404 when the result should be a link to the root of the organization.
The reason seems to be the path to the root is resolved even being outside the org returning something in the form of: "../path_from_ROOT"
Steps to reproduce the bug:
- Go to the classic view
- Create a simple hello world pipeline on the root of jenkins
- Click "Open Blue Ocean" from inside the job
- That redirects to /blue/organizations/org_name/..%2Fjobname/activity which returns a 404
- The root of the Blue Steel team should be opened instead of a 404 link