Add an issue relationship
Parameters
| Name | In | Type | Description |
|---|---|---|---|
issue_id
required
|
path | integer |
The issue ID
e.g. 123
|
Request body required
issue
object
id
number
type
object
name
string
Responses
-
201
Resource created successfully
X-Mantis-UsernameX-Mantis-LoginMethodX-Mantis-Version - 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/relationships \
-d '{
"issue": {
"id": 1
},
"type": {
"name": "string"
}
}'
Request body · application/json
{
"issue": {
"id": 1
},
"type": {
"name": "string"
}
}