{"action":"created","issue":{"url":"https://api.github.com/repos/google/ggrc-core/issues/5632","repository_url":"https://api.github.com/repos/google/ggrc-core","labels_url":"https://api.github.com/repos/google/ggrc-core/issues/5632/labels{/name}","comments_url":"https://api.github.com/repos/google/ggrc-core/issues/5632/comments","events_url":"https://api.github.com/repos/google/ggrc-core/issues/5632/events","html_url":"https://github.com/google/ggrc-core/pull/5632","id":225724064,"number":5632,"title":"GGRC-1642 Ability to add more than one reference or control URL ","user":{"login":"alenaPy","id":17473831,"avatar_url":"https://avatars2.githubusercontent.com/u/17473831?v=3","gravatar_id":"","url":"https://api.github.com/users/alenaPy","html_url":"https://github.com/alenaPy","followers_url":"https://api.github.com/users/alenaPy/followers","following_url":"https://api.github.com/users/alenaPy/following{/other_user}","gists_url":"https://api.github.com/users/alenaPy/gists{/gist_id}","starred_url":"https://api.github.com/users/alenaPy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alenaPy/subscriptions","organizations_url":"https://api.github.com/users/alenaPy/orgs","repos_url":"https://api.github.com/users/alenaPy/repos","events_url":"https://api.github.com/users/alenaPy/events{/privacy}","received_events_url":"https://api.github.com/users/alenaPy/received_events","type":"User","site_admin":false},"labels":[{"id":86898350,"url":"https://api.github.com/repos/google/ggrc-core/labels/migration","name":"migration","color":"0052cc","default":false},{"id":86898803,"url":"https://api.github.com/repos/google/ggrc-core/labels/needs%20work","name":"needs work","color":"f9d0c4","default":false},{"id":378589735,"url":"https://api.github.com/repos/google/ggrc-core/labels/new%20contribution","name":"new contribution","color":"bfdadc","default":false},{"id":352278423,"url":"https://api.github.com/repos/google/ggrc-core/labels/on%20hold","name":"on hold","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":{"login":"Smotko","id":513444,"avatar_url":"https://avatars1.githubusercontent.com/u/513444?v=3","gravatar_id":"","url":"https://api.github.com/users/Smotko","html_url":"https://github.com/Smotko","followers_url":"https://api.github.com/users/Smotko/followers","following_url":"https://api.github.com/users/Smotko/following{/other_user}","gists_url":"https://api.github.com/users/Smotko/gists{/gist_id}","starred_url":"https://api.github.com/users/Smotko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Smotko/subscriptions","organizations_url":"https://api.github.com/users/Smotko/orgs","repos_url":"https://api.github.com/users/Smotko/repos","events_url":"https://api.github.com/users/Smotko/events{/privacy}","received_events_url":"https://api.github.com/users/Smotko/received_events","type":"User","site_admin":false},"assignees":[{"login":"Smotko","id":513444,"avatar_url":"https://avatars1.githubusercontent.com/u/513444?v=3","gravatar_id":"","url":"https://api.github.com/users/Smotko","html_url":"https://github.com/Smotko","followers_url":"https://api.github.com/users/Smotko/followers","following_url":"https://api.github.com/users/Smotko/following{/other_user}","gists_url":"https://api.github.com/users/Smotko/gists{/gist_id}","starred_url":"https://api.github.com/users/Smotko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Smotko/subscriptions","organizations_url":"https://api.github.com/users/Smotko/orgs","repos_url":"https://api.github.com/users/Smotko/repos","events_url":"https://api.github.com/users/Smotko/events{/privacy}","received_events_url":"https://api.github.com/users/Smotko/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/google/ggrc-core/milestones/47","html_url":"https://github.com/google/ggrc-core/milestone/47","labels_url":"https://api.github.com/repos/google/ggrc-core/milestones/47/labels","id":2502348,"number":47,"title":"0.10.15-Raspberry","description":"","creator":{"login":"alieh-rymasheuski","id":9883236,"avatar_url":"https://avatars1.githubusercontent.com/u/9883236?v=3","gravatar_id":"","url":"https://api.github.com/users/alieh-rymasheuski","html_url":"https://github.com/alieh-rymasheuski","followers_url":"https://api.github.com/users/alieh-rymasheuski/followers","following_url":"https://api.github.com/users/alieh-rymasheuski/following{/other_user}","gists_url":"https://api.github.com/users/alieh-rymasheuski/gists{/gist_id}","starred_url":"https://api.github.com/users/alieh-rymasheuski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alieh-rymasheuski/subscriptions","organizations_url":"https://api.github.com/users/alieh-rymasheuski/orgs","repos_url":"https://api.github.com/users/alieh-rymasheuski/repos","events_url":"https://api.github.com/users/alieh-rymasheuski/events{/privacy}","received_events_url":"https://api.github.com/users/alieh-rymasheuski/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":2,"state":"open","created_at":"2017-05-05T13:07:22Z","updated_at":"2017-05-06T10:04:22Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2017-05-02T15:03:31Z","updated_at":"2017-05-06T12:18:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/google/ggrc-core/pulls/5632","html_url":"https://github.com/google/ggrc-core/pull/5632","diff_url":"https://github.com/google/ggrc-core/pull/5632.diff","patch_url":"https://github.com/google/ggrc-core/pull/5632.patch"},"body":"This PR enables the users to add multiple URLs for all Hyperlinked objects.\r\n\r\nSubtasks:\r\n1. For each object that has \"SomeObject URL\" and \"Reference URL\" field, including Assessments, move these two values into URLs list (like the one we have for Assessments) with a data migration, and remove \"SomeObject URL\" and \"Reference URL\" fields from the DB.\r\n2. Update the UI to reflect the changes. **(out of scope of this PR)**\r\n3. For Snapshottable objects, create a new Revision when a user Adds, Deletes, Edits any of the URLs from the list.\r\n4. Update Imports/Exports to reflect the changes.\r\n\r\nDone:\r\n- [x] Add migration steps for ggrc and ggrc_risks\r\n- [x] Update Hyperlinked mixin. Move fulltext search attributes for urls from EvidenceUrl class to Hyperlinked.\r\n- [x] Remove '* URL' attributes from object classes.\r\n- [x] Add log_json method to Hyperlinked to reflect 'link' field in revision.\r\n- [x] Update export.\r\n- [x] Fix unit tests.\r\n- [x] Update import.\r\n\r\nTo do:\r\n- [ ] Fix integration tests."},"comment":{"url":"https://api.github.com/repos/google/ggrc-core/issues/comments/299636082","html_url":"https://github.com/google/ggrc-core/pull/5632#issuecomment-299636082","issue_url":"https://api.github.com/repos/google/ggrc-core/issues/5632","id":299636082,"user":{"login":"SergeyRabtsau","id":12732485,"avatar_url":"https://avatars2.githubusercontent.com/u/12732485?v=3","gravatar_id":"","url":"https://api.github.com/users/SergeyRabtsau","html_url":"https://github.com/SergeyRabtsau","followers_url":"https://api.github.com/users/SergeyRabtsau/followers","following_url":"https://api.github.com/users/SergeyRabtsau/following{/other_user}","gists_url":"https://api.github.com/users/SergeyRabtsau/gists{/gist_id}","starred_url":"https://api.github.com/users/SergeyRabtsau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergeyRabtsau/subscriptions","organizations_url":"https://api.github.com/users/SergeyRabtsau/orgs","repos_url":"https://api.github.com/users/SergeyRabtsau/repos","events_url":"https://api.github.com/users/SergeyRabtsau/events{/privacy}","received_events_url":"https://api.github.com/users/SergeyRabtsau/received_events","type":"User","site_admin":false},"created_at":"2017-05-06T12:18:01Z","updated_at":"2017-05-06T12:18:01Z","body":"@AleksNeStu pls fix failed Selenium tests, it looks like locator for program url was changed"}}
{"actor":{"display_login":"SergeyRabtsau"}}