Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-45474

Link to Blue Ocean from a job that is outside an Organization folder returns 404

    Details

    • Epic Link:
    • Sprint:
      Blue Ocean 1.2-beta3
    • Similar Issues:

      Description

      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

      Current result

      • That redirects to /blue/organizations/org_name/..%2Fjobname/activity which returns a 404

      Expected result

      • The root of the Blue Steel team should be opened instead of a 404 link

        Attachments

          Issue Links

            Activity

            alobato Alvaro Lobato created issue -
            alobato Alvaro Lobato made changes -
            Field Original Value New Value
            Assignee Alvaro Lobato [ alobato ]
            alobato Alvaro Lobato made changes -
            Labels cloudbees-internal-steel
            jamesdumay James Dumay made changes -
            Sprint Blue Ocean 1.2-beta3 [ 346 ]
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Epic Link JENKINS-35759 [ 171771 ]
            alobato Alvaro Lobato made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Hide
            alobato Alvaro Lobato added a comment -

            This isn't a Blue Ocean defect, the cause was a miss use of the API. 

            Show
            alobato Alvaro Lobato added a comment - This isn't a Blue Ocean defect, the cause was a miss use of the API. 
            alobato Alvaro Lobato made changes -
            Status In Progress [ 3 ] Closed [ 6 ]
            Resolution Not A Defect [ 7 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal CJP-7258 (Web Link)" [ 19100 ]

              People

              • Assignee:
                alobato Alvaro Lobato
                Reporter:
                alobato Alvaro Lobato
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: