{"action":"created","issue":{"url":"https://api.github.com/repos/opf/openproject/issues/3324","labels_url":"https://api.github.com/repos/opf/openproject/issues/3324/labels{/name}","comments_url":"https://api.github.com/repos/opf/openproject/issues/3324/comments","events_url":"https://api.github.com/repos/opf/openproject/issues/3324/events","html_url":"https://github.com/opf/openproject/pull/3324","id":99642785,"number":3324,"title":"prevent too long Request-URLs for many watchers","user":{"login":"NobodysNightmare","id":453584,"avatar_url":"https://avatars.githubusercontent.com/u/453584?v=3","gravatar_id":"","url":"https://api.github.com/users/NobodysNightmare","html_url":"https://github.com/NobodysNightmare","followers_url":"https://api.github.com/users/NobodysNightmare/followers","following_url":"https://api.github.com/users/NobodysNightmare/following{/other_user}","gists_url":"https://api.github.com/users/NobodysNightmare/gists{/gist_id}","starred_url":"https://api.github.com/users/NobodysNightmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NobodysNightmare/subscriptions","organizations_url":"https://api.github.com/users/NobodysNightmare/orgs","repos_url":"https://api.github.com/users/NobodysNightmare/repos","events_url":"https://api.github.com/users/NobodysNightmare/events{/privacy}","received_events_url":"https://api.github.com/users/NobodysNightmare/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opf/openproject/labels/bugfix","name":"bugfix","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"oliverguenther","id":459462,"avatar_url":"https://avatars.githubusercontent.com/u/459462?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverguenther","html_url":"https://github.com/oliverguenther","followers_url":"https://api.github.com/users/oliverguenther/followers","following_url":"https://api.github.com/users/oliverguenther/following{/other_user}","gists_url":"https://api.github.com/users/oliverguenther/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverguenther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverguenther/subscriptions","organizations_url":"https://api.github.com/users/oliverguenther/orgs","repos_url":"https://api.github.com/users/oliverguenther/repos","events_url":"https://api.github.com/users/oliverguenther/events{/privacy}","received_events_url":"https://api.github.com/users/oliverguenther/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-08-07T12:58:35Z","updated_at":"2015-08-07T14:32:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/opf/openproject/pulls/3324","html_url":"https://github.com/opf/openproject/pull/3324","diff_url":"https://github.com/opf/openproject/pull/3324.diff","patch_url":"https://github.com/opf/openproject/pull/3324.patch"},"body":"## OpenProject work package\r\n\r\nhttps://community.openproject.org/work_packages/21199\r\n\r\n## Description\r\n\r\nThis PR fixes issues with WP creation in projects where many watchers are available.\r\nFor the `work_packages/new` form, we go back to the previously used way of not sending any data for empty checkboxes, which is perfectly fine for a collection of users to be added as watchers.\r\nThis saves us many bytes of URI length and therefore reduces problems with too long URIs being generated on type change.\r\n\r\nThe generated HTML will change from something like\r\n\r\n````HTML\r\n<input name=\"work_package[watcher_user_ids][]\" type=\"hidden\" value=\"\">\r\n<input id=\"foo\" name=\"work_package[watcher_user_ids][]\" type=\"checkbox\" value=\"123\">\r\n````\r\n\r\nto\r\n\r\n````HTML\r\n<input id=\"foo\" name=\"work_package[watcher_user_ids][]\" type=\"checkbox\" value=\"123\">\r\n````"},"comment":{"url":"https://api.github.com/repos/opf/openproject/issues/comments/128715331","html_url":"https://github.com/opf/openproject/pull/3324#issuecomment-128715331","issue_url":"https://api.github.com/repos/opf/openproject/issues/3324","id":128715331,"user":{"login":"oliverguenther","id":459462,"avatar_url":"https://avatars.githubusercontent.com/u/459462?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverguenther","html_url":"https://github.com/oliverguenther","followers_url":"https://api.github.com/users/oliverguenther/followers","following_url":"https://api.github.com/users/oliverguenther/following{/other_user}","gists_url":"https://api.github.com/users/oliverguenther/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverguenther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverguenther/subscriptions","organizations_url":"https://api.github.com/users/oliverguenther/orgs","repos_url":"https://api.github.com/users/oliverguenther/repos","events_url":"https://api.github.com/users/oliverguenther/events{/privacy}","received_events_url":"https://api.github.com/users/oliverguenther/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T14:32:26Z","updated_at":"2015-08-07T14:32:26Z","body":"Confirmed to work as expected compared to release/4.2"}}