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

Code has to use AbstractOrganization yet all API uses BlueOrganisation

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • blueocean-plugin
    • None

      An AbstractOrganization can have an abirtray root - organisations do not have to exist at the root of Jenkins.

      However getGroup() is defined on AbstractOrganization and the API uses BlueOrganization so this leads to messy code with cast and instanceof.

      The structure of the code should be re-evaluated.

      example

            Unassigned Unassigned
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: