Interface ComponentRestClient
public interface ComponentRestClient
The com.atlassian.jira.rest.client.api handling component resources
- Since:
- v2.0
-
Method Summary
Modifier and TypeMethodDescriptionio.atlassian.util.concurrent.Promise<Component> createComponent(String projectKey, ComponentInput componentInput) io.atlassian.util.concurrent.Promise<Component> getComponent(URI componentUri) io.atlassian.util.concurrent.Promise<Integer> getComponentRelatedIssuesCount(URI componentUri) io.atlassian.util.concurrent.Promise<Void> removeComponent(URI componentUri, URI moveIssueToComponentUri) io.atlassian.util.concurrent.Promise<Component> updateComponent(URI componentUri, ComponentInput componentInput)
-
Method Details
-
getComponent
- 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
-
getComponentRelatedIssuesCount
-