{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/18170","repository_url":"https://api.github.com/repos/edx/edx-platform","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/18170/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/18170/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/18170/events","html_url":"https://github.com/edx/edx-platform/pull/18170","id":321775702,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg3MDc3NDU1","number":18170,"title":"Answers report: Return task ID and generated filename for frontend to consume","user":{"login":"e-kolpakov","id":3330048,"node_id":"MDQ6VXNlcjMzMzAwNDg=","avatar_url":"https://avatars3.githubusercontent.com/u/3330048?v=4","gravatar_id":"","url":"https://api.github.com/users/e-kolpakov","html_url":"https://github.com/e-kolpakov","followers_url":"https://api.github.com/users/e-kolpakov/followers","following_url":"https://api.github.com/users/e-kolpakov/following{/other_user}","gists_url":"https://api.github.com/users/e-kolpakov/gists{/gist_id}","starred_url":"https://api.github.com/users/e-kolpakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-kolpakov/subscriptions","organizations_url":"https://api.github.com/users/e-kolpakov/orgs","repos_url":"https://api.github.com/users/e-kolpakov/repos","events_url":"https://api.github.com/users/e-kolpakov/events{/privacy}","received_events_url":"https://api.github.com/users/e-kolpakov/received_events","type":"User","site_admin":false},"labels":[{"id":128413102,"node_id":"MDU6TGFiZWwxMjg0MTMxMDI=","url":"https://api.github.com/repos/edx/edx-platform/labels/awaiting%20prioritization","name":"awaiting prioritization","color":"fad8c7","default":false},{"id":78051711,"node_id":"MDU6TGFiZWw3ODA1MTcxMQ==","url":"https://api.github.com/repos/edx/edx-platform/labels/open-source-contribution","name":"open-source-contribution","color":"bfe5bf","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-05-10T01:07:15Z","updated_at":"2018-05-31T15:39:39Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/18170","html_url":"https://github.com/edx/edx-platform/pull/18170","diff_url":"https://github.com/edx/edx-platform/pull/18170.diff","patch_url":"https://github.com/edx/edx-platform/pull/18170.patch"},"body":"**Description:** This makes API endpoint that trigger generating problem answers report return generated task ID, and updates task state to include generated file name.\r\n\r\n**Project details:**\r\nThis PR is part of the \"Improved Problem Response Report\" project, funded by Australian National University (ANU) and developed by OpenCraft.\r\n\r\n**JIRA tickets**: TBD\r\n\r\nRelated (but independent) to https://github.com/edx/edx-platform/pull/17824\r\n\r\n**Dependencies:** #17776 add support for generating bulk reports.\r\n\r\n**Screenshots:** N/A - no UI changes\r\n\r\n**Sandbox URL:**\r\n\r\n- LMS: https://pr18170.sandbox.opencraft.hosting/\r\n- Studio: https://studio-pr18170.sandbox.opencraft.hosting/\r\n\r\n**Merge deadline:** None\r\n\r\n**Testing instructions:**\r\n\r\n1. Open Instructor dashboard\r\n2. Open Developer tools in Chrome\r\n3. Fill in problem location and click \"Download a CSV of Problem Report\".\r\n4. In developer tools, check that request to `courses/$course_id/instructor/api/get_problem_responses` contained `task_id` in response\r\n5. Send `GET $LMS_URL/instructor_task_status/?task_id=$task_id` request and observe it contains `report_name` in response\r\n   * From the JS console in Chrome you can do this with `await (await fetch('/instructor_task_status/?task_id=0c7cd95b-1275-4b5c-be4f-b7d52e1f738d')).json()`\r\n\r\n**Reviewers:**\r\n\r\n- [ ] @bradenmacdonald \r\n- [ ] @mduboseedx"},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/393573491","html_url":"https://github.com/edx/edx-platform/pull/18170#issuecomment-393573491","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/18170","id":393573491,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzU3MzQ5MQ==","user":{"login":"e-kolpakov","id":3330048,"node_id":"MDQ6VXNlcjMzMzAwNDg=","avatar_url":"https://avatars3.githubusercontent.com/u/3330048?v=4","gravatar_id":"","url":"https://api.github.com/users/e-kolpakov","html_url":"https://github.com/e-kolpakov","followers_url":"https://api.github.com/users/e-kolpakov/followers","following_url":"https://api.github.com/users/e-kolpakov/following{/other_user}","gists_url":"https://api.github.com/users/e-kolpakov/gists{/gist_id}","starred_url":"https://api.github.com/users/e-kolpakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-kolpakov/subscriptions","organizations_url":"https://api.github.com/users/e-kolpakov/orgs","repos_url":"https://api.github.com/users/e-kolpakov/repos","events_url":"https://api.github.com/users/e-kolpakov/events{/privacy}","received_events_url":"https://api.github.com/users/e-kolpakov/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T15:39:39Z","updated_at":"2018-05-31T15:39:39Z","author_association":"CONTRIBUTOR","body":"@mduboseedx Hi! Looks like this PR went under the radar - is there something on our side we need to do to push it forward?"}}
{"actor":{"display_login":"e-kolpakov"}}