{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/1860","labels_url":"https://api.github.com/repos/gogits/gogs/issues/1860/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/1860/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/1860/events","html_url":"https://github.com/gogits/gogs/issues/1860","id":114154066,"number":1860,"title":"Migrating repo to an organization when I am watching the repo","user":{"login":"carlosfvp","id":4541969,"avatar_url":"https://avatars.githubusercontent.com/u/4541969?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosfvp","html_url":"https://github.com/carlosfvp","followers_url":"https://api.github.com/users/carlosfvp/followers","following_url":"https://api.github.com/users/carlosfvp/following{/other_user}","gists_url":"https://api.github.com/users/carlosfvp/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosfvp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosfvp/subscriptions","organizations_url":"https://api.github.com/users/carlosfvp/orgs","repos_url":"https://api.github.com/users/carlosfvp/repos","events_url":"https://api.github.com/users/carlosfvp/events{/privacy}","received_events_url":"https://api.github.com/users/carlosfvp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-29T21:42:33Z","updated_at":"2015-10-29T22:17:31Z","closed_at":null,"body":"Hi,\r\n\r\nI am here to report that I can't transfer a repo to an organization when I am currently watching the repo.\r\n\r\nLook https://github.com/gogits/gogs/blob/c60d8bc069491295300969b185a47587dfdd03a6/models/org.go \r\n\r\nline 504.\r\n\r\nI am not sure what that for-loop is for but, when I \"unwatched\" the repo I was able to transfer it to an organization."},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/152343715","html_url":"https://github.com/gogits/gogs/issues/1860#issuecomment-152343715","issue_url":"https://api.github.com/repos/gogits/gogs/issues/1860","id":152343715,"user":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T22:17:30Z","updated_at":"2015-10-29T22:17:30Z","body":"What is the exact error you have?"}}