OVERVIEW
This REST API helps to update the Defect
Method: Post
Input:
Authorization: Basic Auth token in the Request Headers
Post body:
Purpose of Fields given in this API:
Parameter | Value | Is Mandatory? | Description |
Defect_ID
|
Integer | Yes | Input the item id which you want to update like, 6758,7897etc |
Synopsis
|
String | No | Input the Synopsis which you want to update |
Description | String | No | Item description in plain text/HTML format which you want to update |
Found_version
|
String | No | Input found version which you want to update |
Fixed_version
|
String | No | Input Fixed version which you want to update |
Target_version
|
String | No | Input target version which you want to update |
Assigned_to | String | No | The user names the item should be assigned to. Users must belong to the project.
Default is the default assigned user in the status workflow |
Severity
|
String | No | Input Severity which you want to update |
Updated_Date
|
String | No | The item’s updated date.
The format must be the date format of the local machine |
Updated_By | String | No | The name of the user-updated the item. |
Fixes | String | No | Input fixes text which you want to update |
Work_around | String | No | Input workaround text which you want to update |
Defect_type | String | No | Input defect type |
Category | String | No | Item category.
Default is the category default value (Taken from admin system tables) |
Status | String | No | Item status.
Default is status default process flow value (Taken from admin system tables) |
Priority | String | No | Item priority.
Default is the priority default value (taken from admin system tables) |
Start_date | String | No | The item start date.
The format must be the date format of the local machine Default is Current date & time |
Effort_estimation | String | No | Item effort estimation.
Default is 0 |
Due_date | String | No | The item due date.
The format must be the date format of the local machine Default is Current date & time |
CS1_Name | String | No | Item 1st custom field name |
CS1_value | String | No | Item 1st custom field value |
Up to CS60_Name | String | No | Up to item 60th custom field name |
Up to CS60_value | String | No | Up to item 60th custom field value |
Output:
Orcanos Output class:
{
"IsSuccess": true,
"Data": "1792, ---> Item id which is udpated
"Message": "Defect updated successfully", ---> Success message
"HttpCode": 200
}
IsSuccess: if successful then true else false
Data: JSON object ID which is updated
Message: Error message in case IsSuccess is false
HttpCode: Response HttpCode