Interface ComponentRestClient


public interface ComponentRestClient
The com.atlassian.jira.rest.client.api handling component resources
Since:
v2.0
  • Method Details

    • getComponent

      io.atlassian.util.concurrent.Promise<Component> getComponent(URI componentUri)
      Parameters:
      componentUri - URI to selected component resource
      Returns:
      complete information about selected component
      Throws:
      RestClientException - in case of problems (connectivity, malformed messages, etc.)
    • createComponent

      io.atlassian.util.concurrent.Promise<Component> createComponent(String projectKey, ComponentInput componentInput)
    • updateComponent

      io.atlassian.util.concurrent.Promise<Component> updateComponent(URI componentUri, ComponentInput componentInput)
    • removeComponent

      io.atlassian.util.concurrent.Promise<Void> removeComponent(URI componentUri, @Nullable URI moveIssueToComponentUri)
    • getComponentRelatedIssuesCount

      io.atlassian.util.concurrent.Promise<Integer> getComponentRelatedIssuesCount(URI componentUri)