{
"examples": { "request": { "json": { "change": { "name": "Change Name", "change_type": 1, "site_id": 1, "department_id": 1, "description": "description", "state_id": 1, "assignee": { "email": "john.doe@email.com" }, "requester": { "email": "john.doe@email.com" }, "priority": "High", "change_plan": "change plan", "rollback_plan": "rollback plan", "test_plan": "test plan" , "planned_start_at": "2025-01-01 00:00" , "planned_end_at": "2025-01-01 05:00", "add_to_tag_list": "tag1, tag2", "remove_from_tag_list": "tag3", "tag_list": "tag1, tag2", "custom_fields_values_attributes": [ { "id": 10, "custom_field_id": 1, "value": "content" }, { "id": 100, "custom_field_id": 2, "value": "1" } ], "custom_fields_values": { "custom_fields_value": [ { "name": "Text custom field", "value": "content" }, { "name": "User custom field", "user_value": { "email": "john.doe@email.com" } } ] }, "incidents": [{ "number": "100" }], "problems": [{ "number": "100" }], "releases": [{ "number": "100" }], "configuration_item_ids":["100"] } } }, "response": { "json": { "change": { "id": "10000", "number": "1000", "name": "Change Name", "description": "description", "state": "New", "site": { "id": "1", "name": "Austin TX, USA", "location": "AUS", "description": "", "time_zone": "" }, "department": { "id": "1", "name": "Support", "description": "", "default_assignee_id": "1" }, "priority": "High", "assignee": { "group_id": "1", "is_user": "true", "id": "1", "name": "John Doe", "email": "john.doe@email.com", "avatar": { "type": "initials", "color": "#fd4165", "initials": "JD" } }, "requester": { "id": "1", "account_id": "1", "user_id": "1", "email": "john.doe@email.com", "name": "John Doe", "disabled": false, "avatar": { "type": "initials", "color": "#fd4165", "initials": "JD" } }, "custom_fields_values": [ { "id": "10", "custom_field_id": "1", "name": "Text custom field", "value": "content", "options": "", "type_name": "Text" }, { "id": "100", "custom_field_id": "2", "name": "User custom field", "value": "1", "options": "", "type_name": "User", "user": { "group_id": 1, "is_user": true, "id": 1, "name": "John Doe", "email": "john.doe@email.com" } } ], "change_plan": "change plan", "rollback_plan": "rollback plan", "test_plan": "test plan" , "planned_start_at": "2025-01-01T00:00:00.000+01:00" , "planned_end_at": "2025-01-01T05:00:00.000+01:00", "origin": "api", "created_at": "2025-01-01T00:00:00.000+01:00", "incidents": [{ "id": "100", "href": "https://mydomain.com/incidents/100"}], "problems": [{ "id": "100", "href": "https://mydomain.com/problems/100"}], "releases": [{ "id": "100", "href": "https://mydomain.com/releases/100"}], "configuration_items": [{ "id": "100", "href": "https://mydomain.com/configuration_items/100"}] } } } }
}