{"action":"created","comment":{"url":"https://api.github.com/repos/ezScrum/ezScrum/pulls/comments/24557676","id":24557676,"diff_hunk":"@@ -48,21 +41,21 @@ public ActionForward execute(ActionMapping mapping, ActionForm form,\n     \t{\n     \t\tsb.append(\"<Tasks>\");\n     \t\t// 取出這個 Sprint 的 Tasks\n-    \t\tMap<Long, IIssue[]> map = backlog.getTasksMap();\n+    \t\tMap<Long, ArrayList<TaskObject>> map = backlog.getTasksMap();\n     \t\t// 取出 指定 Story 底下的 Tasks\n-    \t\tIIssue[] issues = map.get(Long.valueOf(storyID));\n-    \t\tif (issues != null)\n+    \t\tArrayList<TaskObject> tasks = map.get(Long.valueOf(storyID));\n+    \t\tif (tasks != null)\n     \t\t{\n-\t    \t\tfor(int i = 0; i < issues.length; i++){\t\t\t\n+\t    \t\tfor(TaskObject task : tasks){\t\t\t\n \t\t\t\t\tsb.append(\"<Task>\");\n-\t\t\t\t\tsb.append(\"<Id>\" + issues[i].getIssueID() + \"</Id>\");\n-\t\t\t\t\tsb.append(\"<Link>\" + tsc.TranslateXMLChar(issues[i].getIssueLink()) + \"</Link>\");\n-\t\t\t\t\tsb.append(\"<Name>\" + tsc.TranslateXMLChar(issues[i].getSummary()) + \"</Name>\");\n-\t\t\t\t\tsb.append(\"<Estimate>\" + issues[i].getEstimated() + \"</Estimate>\");\n-\t\t\t\t\tsb.append(\"<Actual>\" + issues[i].getActualHour() + \"</Actual>\");\n-\t\t\t\t\tsb.append(\"<Handler>\" + issues[i].getAssignto() + \"</Handler>\");\n-\t\t\t\t\tsb.append(\"<Partners>\" + tsc.TranslateXMLChar(issues[i].getPartners()) + \"</Partners>\");\n-\t\t\t\t\tsb.append(\"<Notes>\" + tsc.TranslateXMLChar(issues[i].getNotes()) + \"</Notes>\");\n+\t\t\t\t\tsb.append(\"<Id>\" + task.getId() + \"</Id>\");","path":"java/ntut/csie/ezScrum/web/action/report/GetTasksByStoryIDAction.java","position":55,"original_position":55,"commit_id":"e4e4ae150eb0d37481af963e0629061aaa7bc21a","original_commit_id":"e4e4ae150eb0d37481af963e0629061aaa7bc21a","user":{"login":"imidya","id":1527203,"avatar_url":"https://avatars.githubusercontent.com/u/1527203?v=3","gravatar_id":"","url":"https://api.github.com/users/imidya","html_url":"https://github.com/imidya","followers_url":"https://api.github.com/users/imidya/followers","following_url":"https://api.github.com/users/imidya/following{/other_user}","gists_url":"https://api.github.com/users/imidya/gists{/gist_id}","starred_url":"https://api.github.com/users/imidya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imidya/subscriptions","organizations_url":"https://api.github.com/users/imidya/orgs","repos_url":"https://api.github.com/users/imidya/repos","events_url":"https://api.github.com/users/imidya/events{/privacy}","received_events_url":"https://api.github.com/users/imidya/received_events","type":"User","site_admin":false},"body":"DONE","created_at":"2015-02-12T04:21:58Z","updated_at":"2015-02-12T04:21:58Z","html_url":"https://github.com/ezScrum/ezScrum/pull/69#discussion_r24557676","pull_request_url":"https://api.github.com/repos/ezScrum/ezScrum/pulls/69","_links":{"self":{"href":"https://api.github.com/repos/ezScrum/ezScrum/pulls/comments/24557676"},"html":{"href":"https://github.com/ezScrum/ezScrum/pull/69#discussion_r24557676"},"pull_request":{"href":"https://api.github.com/repos/ezScrum/ezScrum/pulls/69"}}},"pull_request":{"url":"https://api.github.com/repos/ezScrum/ezScrum/pulls/69","id":29145819,"html_url":"https://github.com/ezScrum/ezScrum/pull/69","diff_url":"https://github.com/ezScrum/ezScrum/pull/69.diff","patch_url":"https://github.com/ezScrum/ezScrum/pull/69.patch","issue_url":"https://api.github.com/repos/ezScrum/ezScrum/issues/69","number":69,"state":"open","locked":false,"title":"Story 7103 new actions","user":{"login":"imidya","id":1527203,"avatar_url":"https://avatars.githubusercontent.com/u/1527203?v=3","gravatar_id":"","url":"https://api.github.com/users/imidya","html_url":"https://github.com/imidya","followers_url":"https://api.github.com/users/imidya/followers","following_url":"https://api.github.com/users/imidya/following{/other_user}","gists_url":"https://api.github.com/users/imidya/gists{/gist_id}","starred_url":"https://api.github.com/users/imidya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imidya/subscriptions","organizations_url":"https://api.github.com/users/imidya/orgs","repos_url":"https://api.github.com/users/imidya/repos","events_url":"https://api.github.com/users/imidya/events{/privacy}","received_events_url":"https://api.github.com/users/imidya/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-12T01:34:15Z","updated_at":"2015-02-12T04:21:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a608a07a76cfc20e214194fadc50d010c231ed8d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ezScrum/ezScrum/pulls/69/commits","review_comments_url":"https://api.github.com/repos/ezScrum/ezScrum/pulls/69/comments","review_comment_url":"https://api.github.com/repos/ezScrum/ezScrum/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ezScrum/ezScrum/issues/69/comments","statuses_url":"https://api.github.com/repos/ezScrum/ezScrum/statuses/e4e4ae150eb0d37481af963e0629061aaa7bc21a","head":{"label":"ezScrum:story_7103_new_actions","ref":"story_7103_new_actions","sha":"e4e4ae150eb0d37481af963e0629061aaa7bc21a","user":{"login":"ezScrum","id":5744174,"avatar_url":"https://avatars.githubusercontent.com/u/5744174?v=3","gravatar_id":"","url":"https://api.github.com/users/ezScrum","html_url":"https://github.com/ezScrum","followers_url":"https://api.github.com/users/ezScrum/followers","following_url":"https://api.github.com/users/ezScrum/following{/other_user}","gists_url":"https://api.github.com/users/ezScrum/gists{/gist_id}","starred_url":"https://api.github.com/users/ezScrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezScrum/subscriptions","organizations_url":"https://api.github.com/users/ezScrum/orgs","repos_url":"https://api.github.com/users/ezScrum/repos","events_url":"https://api.github.com/users/ezScrum/events{/privacy}","received_events_url":"https://api.github.com/users/ezScrum/received_events","type":"Organization","site_admin":false},"repo":{"id":13950021,"name":"ezScrum","full_name":"ezScrum/ezScrum","owner":{"login":"ezScrum","id":5744174,"avatar_url":"https://avatars.githubusercontent.com/u/5744174?v=3","gravatar_id":"","url":"https://api.github.com/users/ezScrum","html_url":"https://github.com/ezScrum","followers_url":"https://api.github.com/users/ezScrum/followers","following_url":"https://api.github.com/users/ezScrum/following{/other_user}","gists_url":"https://api.github.com/users/ezScrum/gists{/gist_id}","starred_url":"https://api.github.com/users/ezScrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezScrum/subscriptions","organizations_url":"https://api.github.com/users/ezScrum/orgs","repos_url":"https://api.github.com/users/ezScrum/repos","events_url":"https://api.github.com/users/ezScrum/events{/privacy}","received_events_url":"https://api.github.com/users/ezScrum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ezScrum/ezScrum","description":"An open source project for scrum","fork":false,"url":"https://api.github.com/repos/ezScrum/ezScrum","forks_url":"https://api.github.com/repos/ezScrum/ezScrum/forks","keys_url":"https://api.github.com/repos/ezScrum/ezScrum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezScrum/ezScrum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezScrum/ezScrum/teams","hooks_url":"https://api.github.com/repos/ezScrum/ezScrum/hooks","issue_events_url":"https://api.github.com/repos/ezScrum/ezScrum/issues/events{/number}","events_url":"https://api.github.com/repos/ezScrum/ezScrum/events","assignees_url":"https://api.github.com/repos/ezScrum/ezScrum/assignees{/user}","branches_url":"https://api.github.com/repos/ezScrum/ezScrum/branches{/branch}","tags_url":"https://api.github.com/repos/ezScrum/ezScrum/tags","blobs_url":"https://api.github.com/repos/ezScrum/ezScrum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezScrum/ezScrum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezScrum/ezScrum/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezScrum/ezScrum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezScrum/ezScrum/statuses/{sha}","languages_url":"https://api.github.com/repos/ezScrum/ezScrum/languages","stargazers_url":"https://api.github.com/repos/ezScrum/ezScrum/stargazers","contributors_url":"https://api.github.com/repos/ezScrum/ezScrum/contributors","subscribers_url":"https://api.github.com/repos/ezScrum/ezScrum/subscribers","subscription_url":"https://api.github.com/repos/ezScrum/ezScrum/subscription","commits_url":"https://api.github.com/repos/ezScrum/ezScrum/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezScrum/ezScrum/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezScrum/ezScrum/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezScrum/ezScrum/issues/comments/{number}","contents_url":"https://api.github.com/repos/ezScrum/ezScrum/contents/{+path}","compare_url":"https://api.github.com/repos/ezScrum/ezScrum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezScrum/ezScrum/merges","archive_url":"https://api.github.com/repos/ezScrum/ezScrum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezScrum/ezScrum/downloads","issues_url":"https://api.github.com/repos/ezScrum/ezScrum/issues{/number}","pulls_url":"https://api.github.com/repos/ezScrum/ezScrum/pulls{/number}","milestones_url":"https://api.github.com/repos/ezScrum/ezScrum/milestones{/number}","notifications_url":"https://api.github.com/repos/ezScrum/ezScrum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezScrum/ezScrum/labels{/name}","releases_url":"https://api.github.com/repos/ezScrum/ezScrum/releases{/id}","created_at":"2013-10-29T08:16:22Z","updated_at":"2014-11-13T08:04:38Z","pushed_at":"2015-02-12T01:38:45Z","git_url":"git://github.com/ezScrum/ezScrum.git","ssh_url":"git@github.com:ezScrum/ezScrum.git","clone_url":"https://github.com/ezScrum/ezScrum.git","svn_url":"https://github.com/ezScrum/ezScrum","homepage":"","size":106661,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":13,"forks":3,"open_issues":13,"watchers":5,"default_branch":"master"}},"base":{"label":"ezScrum:story_7103_new","ref":"story_7103_new","sha":"c69cf2a77ba3cd5e5b5ebd004d8fbb9c1dc4f75a","user":{"login":"ezScrum","id":5744174,"avatar_url":"https://avatars.githubusercontent.com/u/5744174?v=3","gravatar_id":"","url":"https://api.github.com/users/ezScrum","html_url":"https://github.com/ezScrum","followers_url":"https://api.github.com/users/ezScrum/followers","following_url":"https://api.github.com/users/ezScrum/following{/other_user}","gists_url":"https://api.github.com/users/ezScrum/gists{/gist_id}","starred_url":"https://api.github.com/users/ezScrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezScrum/subscriptions","organizations_url":"https://api.github.com/users/ezScrum/orgs","repos_url":"https://api.github.com/users/ezScrum/repos","events_url":"https://api.github.com/users/ezScrum/events{/privacy}","received_events_url":"https://api.github.com/users/ezScrum/received_events","type":"Organization","site_admin":false},"repo":{"id":13950021,"name":"ezScrum","full_name":"ezScrum/ezScrum","owner":{"login":"ezScrum","id":5744174,"avatar_url":"https://avatars.githubusercontent.com/u/5744174?v=3","gravatar_id":"","url":"https://api.github.com/users/ezScrum","html_url":"https://github.com/ezScrum","followers_url":"https://api.github.com/users/ezScrum/followers","following_url":"https://api.github.com/users/ezScrum/following{/other_user}","gists_url":"https://api.github.com/users/ezScrum/gists{/gist_id}","starred_url":"https://api.github.com/users/ezScrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezScrum/subscriptions","organizations_url":"https://api.github.com/users/ezScrum/orgs","repos_url":"https://api.github.com/users/ezScrum/repos","events_url":"https://api.github.com/users/ezScrum/events{/privacy}","received_events_url":"https://api.github.com/users/ezScrum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ezScrum/ezScrum","description":"An open source project for scrum","fork":false,"url":"https://api.github.com/repos/ezScrum/ezScrum","forks_url":"https://api.github.com/repos/ezScrum/ezScrum/forks","keys_url":"https://api.github.com/repos/ezScrum/ezScrum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ezScrum/ezScrum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ezScrum/ezScrum/teams","hooks_url":"https://api.github.com/repos/ezScrum/ezScrum/hooks","issue_events_url":"https://api.github.com/repos/ezScrum/ezScrum/issues/events{/number}","events_url":"https://api.github.com/repos/ezScrum/ezScrum/events","assignees_url":"https://api.github.com/repos/ezScrum/ezScrum/assignees{/user}","branches_url":"https://api.github.com/repos/ezScrum/ezScrum/branches{/branch}","tags_url":"https://api.github.com/repos/ezScrum/ezScrum/tags","blobs_url":"https://api.github.com/repos/ezScrum/ezScrum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ezScrum/ezScrum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ezScrum/ezScrum/git/refs{/sha}","trees_url":"https://api.github.com/repos/ezScrum/ezScrum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ezScrum/ezScrum/statuses/{sha}","languages_url":"https://api.github.com/repos/ezScrum/ezScrum/languages","stargazers_url":"https://api.github.com/repos/ezScrum/ezScrum/stargazers","contributors_url":"https://api.github.com/repos/ezScrum/ezScrum/contributors","subscribers_url":"https://api.github.com/repos/ezScrum/ezScrum/subscribers","subscription_url":"https://api.github.com/repos/ezScrum/ezScrum/subscription","commits_url":"https://api.github.com/repos/ezScrum/ezScrum/commits{/sha}","git_commits_url":"https://api.github.com/repos/ezScrum/ezScrum/git/commits{/sha}","comments_url":"https://api.github.com/repos/ezScrum/ezScrum/comments{/number}","issue_comment_url":"https://api.github.com/repos/ezScrum/ezScrum/issues/comments/{number}","contents_url":"https://api.github.com/repos/ezScrum/ezScrum/contents/{+path}","compare_url":"https://api.github.com/repos/ezScrum/ezScrum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ezScrum/ezScrum/merges","archive_url":"https://api.github.com/repos/ezScrum/ezScrum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ezScrum/ezScrum/downloads","issues_url":"https://api.github.com/repos/ezScrum/ezScrum/issues{/number}","pulls_url":"https://api.github.com/repos/ezScrum/ezScrum/pulls{/number}","milestones_url":"https://api.github.com/repos/ezScrum/ezScrum/milestones{/number}","notifications_url":"https://api.github.com/repos/ezScrum/ezScrum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ezScrum/ezScrum/labels{/name}","releases_url":"https://api.github.com/repos/ezScrum/ezScrum/releases{/id}","created_at":"2013-10-29T08:16:22Z","updated_at":"2014-11-13T08:04:38Z","pushed_at":"2015-02-12T01:38:45Z","git_url":"git://github.com/ezScrum/ezScrum.git","ssh_url":"git@github.com:ezScrum/ezScrum.git","clone_url":"https://github.com/ezScrum/ezScrum.git","svn_url":"https://github.com/ezScrum/ezScrum","homepage":"","size":106661,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":13,"forks":3,"open_issues":13,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ezScrum/ezScrum/pulls/69"},"html":{"href":"https://github.com/ezScrum/ezScrum/pull/69"},"issue":{"href":"https://api.github.com/repos/ezScrum/ezScrum/issues/69"},"comments":{"href":"https://api.github.com/repos/ezScrum/ezScrum/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/ezScrum/ezScrum/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/ezScrum/ezScrum/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ezScrum/ezScrum/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/ezScrum/ezScrum/statuses/e4e4ae150eb0d37481af963e0629061aaa7bc21a"}}}}