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

add support for getItemByFullName() to ModifiableTopLevelItemGroup

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None

      Currently if you have a relative path to an Item from a ModifiableTopLevelItemGroup you need to use Jenkins to get the actual item (Jenkins.getInstance().getItemByFullName(ModifiableTopLevelItemGroup.getFullName() + "/" + itemRelativePath))

      It would be handy to do this from the ModifiableTopLevelItemGroup

       

      e.g. ModifiableTopLevelItemGroup.getItemByFullName(path) which would take a relative subpath (would not allow references outside of the folder with ...

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

              Created:
              Updated: