SOAP API

QW_Update_Defect

OVERVIEW

This SOAP Web service helps to update the defect in the pool (on the Work Item page).

Web Service URL: https://xxxxxx.orcanos.com/xxxxx/qpackserv/qpackserv.asmx?op=QW_Update_Defect

Input:

Parameter Value Is Mandatory? Description
User_name String Yes Enter the valid username
User_Password String Yes Enter the valid password
Defect_ID Int Yes Enter the name of the defect which you wants to update
Synopsis String Yes Enter the Defect synopsis
Description String Yes Enter the defect description
Found_version String Yes Enter Found in the version of the project (In which version defect found) Default is 00.00.000.0000
Fixed_version String No Enter Fixed in the version of the project (In which version defect fixed) Default is 00.00.000.0000
Target_version String No Enter Target in the version of the project (In which version defect target) Default is 00.00.000.0000
Assigned_to String No The user names the defect should be assigned to. The user must belong to the project.

Default is the default assigned user in the status workflow

Category String No Enter the Defect category. Default is the category default value (Taken from admin system tables)
Status String No  Enter the Defect status. Default is status default process flow value (Taken from admin system tables)
Priority String No Enter the Defect priority. Default is the priority default value (taken from admin system tables)
Severity String No Enter the Defect severity. Default is the severity default value (Taken from admin system tables)
Start_date String No Enter the defect start date. The format must be the date format of the local machine

Default is the current date & time

Effort_estimation String No Enter the Defect effort estimation. Default is 0
Due_date String No Enter the defect due date. The format must be the date format of the local machine Default is the Current date & time
Updated_Date String The updated date is default
Updated_By String No Updated  by is deafult
Fixes String Enter the fixes
Work_around String No Enter the Defect workaround
Defect_type String Enter defect type Internal/External
CS1_Name to CS60_Name String No Enter the Defect 1-60 custom field name
CS1_value to CS60_value String No Enter the Defect 1-60 custom field value

Output:

When invoke the Web Service, it will return results in the below format if details are correct:

<item>DefectID</item>

When a defect is updated successfully, the Object node’s Id attribute is the updated defect’s id

For Example:

<defect>2155</defect>
And, if details are wrong then, it will give an error message:
<Error>
<ErroStatus></ErrorStatus>
</Error>
For Example:
<Error>
<ErrorStatus>0</ErrorStatus>
<ErrorInfo>Email / User Name or password are missing</ErrorInfo> <ErrorTrace>QW_Update_Defect</ErrorTrace>
Related Articles