getComponent

    Signature

    Helper nodeHelper
    Signature getComponent(String componentName, IHubProject project)
    Description

    Returns a component belonging to the project

    Introduced in 0.8

    Example use

    issue.components = replica.components
      .collect {  remoteComponent -> 
        nodeHelper.getComponent(
          remoteComponent.name, 
          nodeHelper.getProject(issue.projectKey ?: issue.project.key)
        )  
      }
      .findAll()