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

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

public class TransitionsClient
extends RestApiClient<TransitionsClient>

Client for the transitions sub-resource.

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
TransitionsClient(JIRAEnvironmentData environmentData)
          Constructs a new TransitionsClient for a JIRA instance.
 
Method Summary
 IssueTransitionsMeta get(String issueKey)
          GETs the transitions sub-resource for the issue with the given key.
 Response postResponse(String issueKey, com.atlassian.jira.rest.api.issue.IssueUpdateRequest issueUpdateRequest)
           
 
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

TransitionsClient

public TransitionsClient(JIRAEnvironmentData environmentData)
Constructs a new TransitionsClient for a JIRA instance.

Parameters:
environmentData - The JIRA environment data
Method Detail

get

public IssueTransitionsMeta get(String issueKey)
                         throws com.sun.jersey.api.client.UniformInterfaceException
GETs the transitions sub-resource for the issue with the given key.

Parameters:
issueKey - a String containing an issue key
Returns:
a Transitions
Throws:
com.sun.jersey.api.client.UniformInterfaceException - if there's a problem

postResponse

public Response postResponse(String issueKey,
                             com.atlassian.jira.rest.api.issue.IssueUpdateRequest issueUpdateRequest)


Copyright © 2002-2012 Atlassian. All Rights Reserved.