getComponent

    Signature

    HelpernodeHelper
    SignaturegetComponent(String componentName, IHubProject project)
    Description


    Returns a component belonging to the project

    Introduced in0.8

    Example use

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