com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client
Class LinkIssueClient

java.lang.Object
  extended by com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient<LinkIssueClient>
      extended by com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.LinkIssueClient

public class LinkIssueClient
extends RestApiClient<LinkIssueClient>

Client for LinkIssueResource

Since:
v4.3

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient
RestApiClient.Method
 
Field Summary
 
Fields inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient
REST_VERSION
 
Constructor Summary
LinkIssueClient(JIRAEnvironmentData environmentData)
           
LinkIssueClient(JIRAEnvironmentData environmentData, String version)
           
 
Method Summary
 Response deleteIssueLink(String id)
           
 IssueLink getIssueLink(String id)
           
 Response getIssueLinkResponse(String id)
           
 Response linkIssues(LinkRequest linkRequest)
          Links the two issues specified in the LinkRequest using the specified link type.
 
Methods inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient
anonymous, createResource, errorResponse, expanded, loginAs, loginAs, percentEncode, resourceRoot, setOf, toResponse, toResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkIssueClient

public LinkIssueClient(JIRAEnvironmentData environmentData)

LinkIssueClient

public LinkIssueClient(JIRAEnvironmentData environmentData,
                       String version)
Method Detail

linkIssues

public Response linkIssues(LinkRequest linkRequest)
Links the two issues specified in the LinkRequest using the specified link type.

Parameters:
linkRequest - contains all information that is required two link two issues
Returns:
the response two determine if the two issues are successfully linked to each other.

getIssueLink

public IssueLink getIssueLink(String id)

getIssueLinkResponse

public Response getIssueLinkResponse(String id)

deleteIssueLink

public Response deleteIssueLink(String id)


Copyright © 2002-2012 Atlassian. All Rights Reserved.