{"componentChunkName":"component---src-templates-api-page-tsx","path":"/api/events/bulk-mutate-a-list-of-issues/","result":{"data":{"openApi":{"id":"702e1a51-7b46-527f-adca-c7b33303aaf0","path":{"description":"Bulk mutate various attributes on issues.  The list of issues to modify is given through the `id` query parameter.  It is repeated for each issue that should be modified.\n\n- For non-status updates, the `id` query parameter is required.\n- For status updates, the `id` query parameter may be omitted\nfor a batch \"update all\" query.\n- An optional `status` query parameter may be used to restrict\nmutations to only events with the given status.\n\nThe following attributes can be modified and are supplied as JSON object in the body:\n\nIf any ids are out of scope this operation will succeed without any data mutation.","method":"put","operationId":"Bulk Mutate a List of Issues","summary":null,"tags":["Events"],"apiPath":"/api/0/projects/{organization_slug}/{project_slug}/issues/","readableUrl":"/api/events/bulk-mutate-a-list-of-issues/","parameters":[{"schema":{"type":"string","format":null,"enum":null},"name":"organization_slug","in":"path","description":"The slug of the organization the issues belong to.","required":true},{"schema":{"type":"string","format":null,"enum":null},"name":"project_slug","in":"path","description":"The slug of the project the issues belong to.","required":true},{"schema":{"type":"integer","format":null,"enum":null},"name":"id","in":"query","description":"A list of IDs of the issues to be mutated. This parameter shall be repeated for each issue. It is optional only if a status is mutated in which case an implicit update all is assumed.","required":false},{"schema":{"type":"string","format":null,"enum":null},"name":"status","in":"query","description":"Optionally limits the query to issues of the specified status. Valid values are `\"resolved\"`, `\"unresolved\"` and `\"ignored\"`.","required":false}],"responses":[{"content":{"content_type":"application/json","example":"{\n  \"isPublic\": false,\n  \"status\": \"unresolved\",\n  \"statusDetails\": {}\n}","schema":"{\n  \"type\": \"object\",\n  \"required\": [\n    \"isPublic\",\n    \"status\",\n    \"statusDetails\"\n  ],\n  \"properties\": {\n    \"isPublic\": {\n      \"type\": \"boolean\"\n    },\n    \"status\": {\n      \"type\": \"string\",\n      \"enum\": [\n        \"resolved\",\n        \"unresolved\",\n        \"ignored\"\n      ]\n    },\n    \"statusDetails\": {\n      \"type\": \"object\"\n    }\n  }\n}"},"description":"Success","status_code":"200"},{"content":null,"description":"Bad Input","status_code":"400"},{"content":null,"description":"Forbidden","status_code":"403"},{"content":null,"description":"The requested resource does not exist","status_code":"404"}],"requestBody":{"content":{"content_type":"application/json","schema":"{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\",\n      \"description\": \"The new status for the issues. Valid values are `\\\"resolved\\\"`, `\\\"resolvedInNextRelease\\\"`, `\\\"unresolved\\\"`, and `\\\"ignored\\\"`.\",\n      \"example\": \"unresolved\"\n    },\n    \"statusDetails\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"inRelease\": {\n          \"type\": \"string\"\n        },\n        \"inNextRelease\": {\n          \"type\": \"boolean\"\n        },\n        \"inCommit\": {\n          \"type\": \"string\"\n        },\n        \"ignoreDuration\": {\n          \"type\": \"integer\"\n        },\n        \"ignoreCount\": {\n          \"type\": \"integer\"\n        },\n        \"ignoreWindow\": {\n          \"type\": \"integer\"\n        },\n        \"ignoreUserCount\": {\n          \"type\": \"integer\"\n        },\n        \"ignoreUserWindow\": {\n          \"type\": \"integer\"\n        }\n      },\n      \"description\": \"Additional details about the resolution. Valid values are `\\\"inRelease\\\"`, `\\\"inNextRelease\\\"`, `\\\"inCommit\\\"`, `\\\"ignoreDuration\\\"`, `\\\"ignoreCount\\\"`, `\\\"ignoreWindow\\\"`, `\\\"ignoreUserCount\\\"`, and `\\\"ignoreUserWindow\\\"`.\"\n    },\n    \"ignoreDuration\": {\n      \"type\": \"integer\",\n      \"description\": \"The number of minutes to ignore this issue.\"\n    },\n    \"isPublic\": {\n      \"type\": \"boolean\",\n      \"description\": \"Sets the issue to public or private.\",\n      \"example\": false\n    },\n    \"merge\": {\n      \"type\": \"boolean\",\n      \"description\": \"Allows to merge or unmerge different issues.\"\n    },\n    \"assignedTo\": {\n      \"type\": \"string\",\n      \"description\": \"The actor id (or username) of the user or team that should be assigned to this issue.\"\n    },\n    \"hasSeen\": {\n      \"type\": \"boolean\",\n      \"description\": \"In case this API call is invoked with a user context this allows changing of the flag that indicates if the user has seen the event.\"\n    },\n    \"isBookmarked\": {\n      \"type\": \"boolean\",\n      \"description\": \"In case this API call is invoked with a user context this allows changing of the bookmark flag.\"\n    }\n  }\n}"},"required":true},"security":[{"auth_token":["project:write"]}]}}},"pageContext":{"id":"702e1a51-7b46-527f-adca-c7b33303aaf0","title":"Bulk Mutate a List of Issues"}},"staticQueryHashes":["1218203755","1222113826","1222113826","1766336459","2158593473","3990806462","4015007367","4192517163"]}