com.atlassian.jira.functest.framework.backdoor
Class IssuesControl
java.lang.Object
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient<T>
com.atlassian.jira.functest.framework.backdoor.BackdoorControl<IssuesControl>
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
IssuesControl
public IssuesControl(JIRAEnvironmentData environmentData)
createIssue
public com.atlassian.jira.rest.api.issue.IssueCreateResponse createIssue(long projectId,
String summary)
createIssue
public com.atlassian.jira.rest.api.issue.IssueCreateResponse createIssue(String projectKey,
String summary)
createIssue
public com.atlassian.jira.rest.api.issue.IssueCreateResponse createIssue(long projectId,
String summary,
String assignee)
createIssue
public com.atlassian.jira.rest.api.issue.IssueCreateResponse createIssue(String projectKey,
String summary,
String assignee)
assignIssue
public void assignIssue(String issueKey,
String username)
loginAs
public IssuesControl loginAs(String username)
- Description copied from class:
RestApiClient
- Makes this client authenticate as the given user. If this method is not called, this client will authenticate as
""admin"".
- Overrides:
loginAs
in class RestApiClient<IssuesControl>
- Parameters:
username
- a String containing the username
- Returns:
- this
loginAs
public IssuesControl loginAs(String username,
String password)
- Description copied from class:
RestApiClient
- Makes this client authenticate as the given username and password. If this method is not
called, this client will authenticate as
""admin"".
- Overrides:
loginAs
in class RestApiClient<IssuesControl>
- Parameters:
username
- a String containing the usernamepassword
- a String containing the passoword
- Returns:
- this
Copyright © 2002-2012 Atlassian. All Rights Reserved.