com.atlassian.jira.functest.framework.backdoor
Class IssuesControl

java.lang.Object
  extended by com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient<T>
      extended by com.atlassian.jira.functest.framework.backdoor.BackdoorControl<IssuesControl>
          extended by com.atlassian.jira.functest.framework.backdoor.IssuesControl
All Implemented Interfaces:
FuncTestLogger

public class IssuesControl
extends BackdoorControl<IssuesControl>

Use this class from func/selenium/page-object tests that need to manipulate Issues.

Since:
v5.0

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient.Method
 
Field Summary
static long HSP_PROJECT_ID
           
static long MKY_PROJECT_ID
           
 
Fields inherited from class com.atlassian.jira.functest.framework.backdoor.BackdoorControl
restPathRootLength
 
Fields inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient
REST_VERSION
 
Constructor Summary
IssuesControl(com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
           
 
Method Summary
 void assignIssue(String issueKey, String username)
           
 IssueCreateResponse createIssue(long projectId, String summary)
           
 IssueCreateResponse createIssue(long projectId, String summary, String assignee)
           
 IssuesControl loginAs(String username)
           
 IssuesControl loginAs(String username, String password)
           
 
Methods inherited from class com.atlassian.jira.functest.framework.backdoor.BackdoorControl
createResource, get, get, get, getId, log, log, post
 
Methods inherited from class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient
anonymous, errorResponse, expanded, percentEncode, resourceRoot, setOf, toResponse, toResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HSP_PROJECT_ID

public static final long HSP_PROJECT_ID
See Also:
Constant Field Values

MKY_PROJECT_ID

public static final long MKY_PROJECT_ID
See Also:
Constant Field Values
Constructor Detail

IssuesControl

public IssuesControl(com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
Method Detail

createIssue

public IssueCreateResponse createIssue(long projectId,
                                       String summary)

createIssue

public IssueCreateResponse createIssue(long projectId,
                                       String summary,
                                       String assignee)

assignIssue

public void assignIssue(String issueKey,
                        String username)

loginAs

public IssuesControl loginAs(String username)
Overrides:
loginAs in class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient<IssuesControl>

loginAs

public IssuesControl loginAs(String username,
                             String password)
Overrides:
loginAs in class com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient<IssuesControl>


Copyright © 2002-2012 Atlassian. All Rights Reserved.