public class CreateIssue extends Initialization
DELETE_ATTACHMENT, DELETE_SIGN_OUT, easyqaUserAPI, GET_ISSUE_LIST, GET_MEMBERS_LIST, GET_ORG_MEMBERS_LIST, GET_USER, ID_ISSUE, ID_ORGANIZATION, ID_PROJECTS, ID_ROLE, ID_STATUS, ID_TEST_CASE, ID_TEST_MODULE, ID_TEST_OBJECT, ID_TEST_PLAN, ID_TEST_RUN, ID_TEST_RUN_RESULT, imageType, ISSUE_INFO, MODULE_TEST_CASES, ORGANIZATION, ORGANIZATION_ROLE, POST_SIGN_IN, PROJECT, PROJECT_ID_ISSUE, STATUSES, TEST_CASES, TEST_MODULE, TEST_OBJECT, TEST_PLAN, TEST_PLAN_TEST_CASES, TEST_RUN, TEST_RUN_RESULT, textType, UPLOAD_ATTACHMENT, UPLOAD_ATTACHMENT_ID_PROJECT, UPLOAD_CRASH, UPLOAD_ISSUE, videoType| Constructor and Description |
|---|
CreateIssue(String url) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
createIssue(String token,
String auth_token,
String summary,
String description,
String... data)
Method for creating an issue without attachments on Issues page within your project in EasyQA
|
Integer |
createIssueFromDevice(String token,
String summary,
String deviceSerial,
String deviceModel,
String osVersion,
String test_object_id,
String... data)
Method for creating an issue without attachments anonymously for some Test Object on Issues page within your project in EasyQA
|
Integer |
createIssueFromDeviceWithAttachment(String token,
String summary,
String deviceSerial,
String deviceModel,
String osVersion,
String test_object_id,
ArrayList<File> files,
String... data)
Method for creating an issue with attachments anonymously for some Test Object on Issues page within your project in EasyQA
|
Integer |
createIssueWithAttachments(String token,
String auth_token,
String summary,
ArrayList<File> files,
String description,
String... data)
Method for creating an issue with attachments on Issues page within your project in EasyQA
|
public CreateIssue(String url)
public Integer createIssue(String token, String auth_token, String summary, String description, String... data) throws IOException, org.json.JSONException
token - of your project in EasyQA. You can generate it on Integrations pageauth_token - your authorization token in EasyQAsummary - a short description of your issuedata - additional parameters for an issueIOException - for incorrect parsing of the server responseorg.json.JSONException - if the server returns not Json objectpublic Integer createIssueWithAttachments(String token, String auth_token, String summary, ArrayList<File> files, String description, String... data) throws IOException, org.json.JSONException
token - of your project in EasyQA. You can generate it on Integrations pageauth_token - your authorization token in EasyQAsummary - a short description of your issuefiles - a list of files for attachmentsdata - additional parameters for an issueIOException - for incorrect parsing of the server responseorg.json.JSONException - if the server returns not Json objectpublic Integer createIssueFromDevice(String token, String summary, String deviceSerial, String deviceModel, String osVersion, String test_object_id, String... data) throws IOException, org.json.JSONException
token - of your project in EasyQA. You can generate it on Integrations pagesummary - a short description of your issuedeviceSerial - serial number of your devicedeviceModel - model name of you deviceosVersion - operation system version of your phonetest_object_id - an id of the test object for which you create an issuedata - additional parameters for an issueIOException - for incorrect parsing of the server responseorg.json.JSONException - if the server returns not Json objectpublic Integer createIssueFromDeviceWithAttachment(String token, String summary, String deviceSerial, String deviceModel, String osVersion, String test_object_id, ArrayList<File> files, String... data) throws IOException, org.json.JSONException
token - of your project in EasyQA. You can generate it on Integrations pagesummary - a short description of your issuedeviceSerial - serial number of your devicedeviceModel - model name of you deviceosVersion - operation system version of your phonetest_object_id - an id of the test object for which you create an issuefiles - a list of files for attachmentsdata - additional parameters for an issueIOException - for incorrect parsing of the server responseorg.json.JSONException - if the server returns not Json objectCopyright © 2016–2017. All rights reserved.