Create an issue note
Parameters
| Name | In | Type | Description |
|---|---|---|---|
issue_id
required
|
path | integer |
The issue ID
e.g. 123
|
Request body required
text
string
view_state
object
id
number
name
string
label
string
time_tracking
object
duration
string
files
object[]
name
string
content
string
Responses
-
201
Resource created successfully
X-Mantis-UsernameX-Mantis-LoginMethodX-Mantis-Version - 202 Request accepted for moderation
- 400 Bad Request
- 404 Entity not found
cURL
curl -X POST \
-H "Authorization: Bearer $MANTIS_TOKEN" \
-H "Content-Type: application/json" \
https://yourmantishubname.mantishub.io/api/rest/issues/123/notes \
-d '{
"text": "string",
"view_state": {
"id": 10,
"name": "public",
"label": "Public"
},
"time_tracking": {
"duration": "string"
},
"files": [
{
"name": "string",
"content": "string"
}
]
}'
Request body · application/json
{
"text": "string",
"view_state": {
"id": 10,
"name": "public",
"label": "Public"
},
"time_tracking": {
"duration": "string"
},
"files": [
{
"name": "string",
"content": "string"
}
]
}