public class UpdateIssue 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 |
---|
UpdateIssue(String url) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
updateIssue(String token,
String auth_token,
String id,
String... data)
Method for updating the issue by the unique ID in EasyQA
|
void |
updateIssueByIdInProject(String token,
String auth_token,
String id,
String... data)
Method for updating the issue by ID in the project in EasyQA
|
void |
updateIssueStatus(String token,
String auth_token,
String id,
String status_id,
String... data)
Method for updating status of the issue by unique ID in EasyQA
|
void |
updateIssueStatusByIdInProject(String token,
String auth_token,
String id,
String status_id,
String... data)
Method for updating status of the issue by ID in the project in EasyQA
|
public UpdateIssue(String url)
public Map<String,String> updateIssue(String token, String auth_token, String id, 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 EasyQAid
- the unique ID of issuedata
- additional parameters for an issueIOException
- for incorrect parsing of the server responseorg.json.JSONException
- if the server returns not Json objectpublic void updateIssueByIdInProject(String token, String auth_token, String id, 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 EasyQAid
- ID in the projectdata
- additional parameters for an issueIOException
- for incorrect parsing of the server responseorg.json.JSONException
- if the server returns not Json objectpublic void updateIssueStatus(String token, String auth_token, String id, String status_id, 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 EasyQAid
- unique issue ID in EasyQAstatus_id
- ID of status in the project in EasyQA. For example: Submitted has ID=1, To Be Discuss=2, Reopened=3, In Progress=4, Code Review=5, QA Review=6, Closed=7data
- additional parameters for an issueIOException
- for incorrect parsing of the server responseorg.json.JSONException
- if the server returns not Json objectpublic void updateIssueStatusByIdInProject(String token, String auth_token, String id, String status_id, 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 EasyQAid
- ID in the projectstatus_id
- ID of status in the project in EasyQA. For example: Submitted has ID=1, To Be Discuss=2, Reopened=3, In Progress=4, Code Review=5, QA Review=6, Closed=7data
- 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.