Update an issue
Path parameters
idstringRequired
The id of issue.
Header parameters
Brand-URLstringRequiredExample:
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Auth-KeystringRequiredExample:
This is used to authenticate the request. If the request is not authenticated, the server will return a 401 Unauthorized response.
YOUR_AUTH_KEY
Body
The issue of the dto transfer, It's presentation with the update issue request from client.
assigneeIdstring | nullableOptional
Assignee user id of the issue.
namestring | nullableOptional
The name of the issue.
descriptionstring | nullableOptional
The description of the issue.
contentstring · min: 1Required
The content of the issue.
prioritystring · enumOptionalPossible values:
issueCcstring | nullableOptional
The cc of the issue. This value is the email address of the user.
tagsstring | nullableOptional
The tags of the issue. This value is the tags of the issue.
statusstring · enumOptionalPossible values:
Responses
200
The request was successful.
application/json
401
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
application/json
429
The user has exceeded the rate limit.
application/json
put
PUT /api/v1/issues/{id} HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 149
{
"assigneeId": "text",
"name": "text",
"description": "text",
"content": "text",
"priority": "1 - Low",
"issueCc": "text",
"tags": "text",
"status": "0 - Inactive"
}
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": {
"id": "sApKpllz4sAplsmzha",
"assigneeUserId": "USER_ASSIGN_ID",
"parentId": "PARENT_ID",
"name": "NAME",
"description": "DESCRIPTION",
"refType": 1,
"refObject": "REF_OBJECT",
"refId": 1,
"content": "CONTENT",
"issueCc": "ISSUE_CC",
"issueCategoryCode": "ISSUE_CATEGORY_CODE",
"issueCategoryName": "ISSUE_CATEGORY_NAME",
"priority": "High",
"tags": "#User",
"status": "Active",
"medias": [
"https://example.com/media/issue.png"
],
"children": [],
"childrenCount": 1,
"reactions": [
{
"type": "Like",
"userId": "USER_ID",
"id": "ID"
}
],
"user": {
"id": "Plamxinzg18snza",
"code": "EXAMPLE",
"avatar": "https://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50",
"packageId": "1Plamxinzg18snza",
"packageCode": "PACKAGE",
"emailAddress": "[email protected]",
"nickName": "example",
"roles": [
"admin",
"support"
]
}
},
"errors": []
}
Last updated
Was this helpful?