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

The 'Go to Classic Item Creation' will create the item on jenkins root instead of BO Organization Root

    • Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4, Blue Ocean 1.2, Blue Ocean 1.3

      If you have the root a Blue Ocean organization configured on a folder, the 'Go to Classic Item Creation' will create the item in Jenkins root instead of the Organization root.

          [JENKINS-45475] The 'Go to Classic Item Creation' will create the item on jenkins root instead of BO Organization Root

          Alvaro Lobato created issue -
          Alvaro Lobato made changes -
          Description Original: 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
          New: If you have the root a Blue Ocean organization configured on a folder, the 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
          Alvaro Lobato made changes -
          Description Original: If you have the root a Blue Ocean organization configured on a folder, the 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
          New: If you have the root a Blue Ocean organization configured on a folder, the 'Go to Classic Item Creation' will create the item in Jenkins root instead of the Organization root.
          James Dumay made changes -
          Sprint New: Blue Ocean 1.2-beta3 [ 346 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Epic Link New: JENKINS-35759 [ 171771 ]
          Alvaro Lobato made changes -
          Assignee Original: Alvaro Lobato [ alobato ]
          Thorsten Scherler made changes -
          Assignee New: Thorsten Scherler [ tscherler ]
          Thorsten Scherler made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Thorsten Scherler made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

            michaelneale Michael Neale
            alobato Alvaro Lobato
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: