public class IssueSubTaskClient extends com.atlassian.jira.testkit.client.RestApiClient<IssueSubTaskClient>
| Constructor and Description |
|---|
IssueSubTaskClient(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
Constructs a new IssueClient for a JIRA instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.sun.jersey.api.client.WebResource |
createResource() |
List<IssueRefJsonBean> |
get(String issueKey)
GETs the issue with the given key.
|
com.atlassian.jira.testkit.client.restclient.Response |
getResponse(String issueKey) |
com.sun.jersey.api.client.WebResource |
issueSubTaskResource(String issueKey) |
com.atlassian.jira.testkit.client.restclient.Response |
reorder(String parentKey,
Long from,
Long to)
Move subtask from position 'from' to position 'to' in parent issue 'parentKey'
|
anonymous, cleanUp, client, createResourceGadget, createResourceInternal, errorResponse, expanded, getEnvironmentData, loginAs, loginAs, percentEncode, registerResponse, resourceRoot, setOf, toResponse, toResponse, toResponsepublic IssueSubTaskClient(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
environmentData - The JIRA environment datapublic com.atlassian.jira.testkit.client.restclient.Response getResponse(String issueKey) throws com.sun.jersey.api.client.UniformInterfaceException
com.sun.jersey.api.client.UniformInterfaceExceptionpublic List<IssueRefJsonBean> get(String issueKey) throws com.sun.jersey.api.client.UniformInterfaceException
issueKey - a String containing an issue keycom.sun.jersey.api.client.UniformInterfaceException - if there's a problem getting the issuepublic com.sun.jersey.api.client.WebResource issueSubTaskResource(String issueKey)
protected com.sun.jersey.api.client.WebResource createResource()
createResource in class com.atlassian.jira.testkit.client.RestApiClient<IssueSubTaskClient>public com.atlassian.jira.testkit.client.restclient.Response reorder(String parentKey, Long from, Long to)
parentKey - parent issue containing subtask to movefrom - original sequence number of subtaskto - new sequence number of subtaskCopyright © 2002-2021 Atlassian. All Rights Reserved.