Create an issue
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Auth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.
YOUR_AUTH_KEY
The issue of the dto transfer, It's presentation with the create issue request from client.
The id of the issue category.
The parent id of the issue. If the issue is sub-issue, it's parent id is the parent issue id.
The content of the issue.
The referrer id of the issue.
The referrer object of the issue.
The referrer type of the issue.
Assignee user id of the issue.
Provides the values for the Issue Priority of the Issue entity.
The name of the issue.
The description of the issue.
The cc of the issue. This value is the email address of the user.
The tags of the issue. This value is the tags of the issue.
The request was successful.
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
API call exceeded rate limit due to too many requests.
POST /api/v1/issues HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 205
{
"issueCategoryId": "text",
"parentId": "text",
"content": "text",
"refId": 1,
"refObject": "text",
"refType": 1,
"assigneeId": "text",
"priority": "Low",
"name": "text",
"description": "text",
"issueCc": "text",
"tags": "text"
}
{
"success": true,
"statusCode": 201,
"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": "Open",
"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]",
"phoneNumber": "+123456789",
"nickName": "example",
"roles": [
"admin",
"support"
]
}
},
"errors": []
}
Last updated
Was this helpful?