{"action":"created","issue":{"url":"https://api.github.com/repos/capitalone/Hygieia/issues/2146","repository_url":"https://api.github.com/repos/capitalone/Hygieia","labels_url":"https://api.github.com/repos/capitalone/Hygieia/issues/2146/labels{/name}","comments_url":"https://api.github.com/repos/capitalone/Hygieia/issues/2146/comments","events_url":"https://api.github.com/repos/capitalone/Hygieia/issues/2146/events","html_url":"https://github.com/capitalone/Hygieia/issues/2146","id":314337427,"number":2146,"title":"Jira collector - Parser exception when parsing teams -- Tried everything :-(","user":{"login":"email2niranjan","id":38367179,"avatar_url":"https://avatars0.githubusercontent.com/u/38367179?v=4","gravatar_id":"","url":"https://api.github.com/users/email2niranjan","html_url":"https://github.com/email2niranjan","followers_url":"https://api.github.com/users/email2niranjan/followers","following_url":"https://api.github.com/users/email2niranjan/following{/other_user}","gists_url":"https://api.github.com/users/email2niranjan/gists{/gist_id}","starred_url":"https://api.github.com/users/email2niranjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/email2niranjan/subscriptions","organizations_url":"https://api.github.com/users/email2niranjan/orgs","repos_url":"https://api.github.com/users/email2niranjan/repos","events_url":"https://api.github.com/users/email2niranjan/events{/privacy}","received_events_url":"https://api.github.com/users/email2niranjan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-14T15:27:28Z","updated_at":"2018-04-16T15:57:48Z","closed_at":null,"author_association":"NONE","body":"\r\n[debugcustometeam.log](https://github.com/capitalone/Hygieia/files/1915793/debugcustometeam.log)\r\nHi,\r\n\r\nI am getting the error \"Parser exception when parsing teams\".\r\nI am not sure where the problem is. But I went through all the already reported issues in forums and was able to do some steps to debug. \r\n\r\n    Below are the some additional details;\r\n-- **LOOKS GOOD:** **CONNECTION** with JIRA **working OK**. No issues with my authentication. I verified.\r\n-- **LOOKS GOOD:** I added the below DEBUG properties and **AM ABLE TO SEE** all my JIRA stories and their details are coming up **in the output file** that I directed the output to. \r\n        logging.level.com.capitalone.dashboard=DEBUG\r\n        logging.level.com.capitalone.dashboard.collector=DEBUG\r\n        logging.level.com.atlassian.jira=INFO\r\n-- **LOOKS GOOD:** I verified the **custom field ID numbers** by doing a export as xml and my team names, story points, Sprint data field custom names **are proper/correct**.\r\n-- **BUT STILL NOT WORKING:** But for some reason, **collector is not able to parse** any of those details!\r\n-- I tried all possible combinations below  \r\n        team data field name = blank and Boardasteam=true\r\n        team data field name = blank and Boardasteam=false\r\n        team data field name = proper custom field value and Boardasteam=true\r\n        team data field name = proper custom field value and Boardasteam=false\r\n        (for the sake of trying... :-) , tried the below as well)\r\n        team data field name = proper custom field value and Boardasteam=(blank)\r\n        team data field name = blank and Boardasteam=(blank)\r\n\r\nPlease help fix this problem.\r\n\r\n2018-04-14 10:39:20,002 INFO  c.c.d.collector.CollectorTask - Running Collector: Jira\r\n2018-04-14 10:39:20,024 INFO  c.c.d.collector.CollectorTask - -----------------------------------\r\n2018-04-14 10:39:20,025 INFO  c.c.d.collector.CollectorTask - https://adlm.dummy.com/jira/projects/XXXP/\r\n2018-04-14 10:39:20,026 INFO  c.c.d.collector.CollectorTask - -----------------------------------\r\n2018-04-14 10:39:20,028 DEBUG c.c.d.client.team.TeamDataClientImpl - Constructing data collection for the feature widget, team-level data...\r\n2018-04-14 10:39:20,036 DEBUG c.c.d.client.DefaultJiraClient - startAt 0\r\n2018-04-14 10:39:25,219 ERROR c.c.d.client.DefaultJiraClient - Parser exception when parsing teams\r\norg.json.simple.parser.ParseException: null\r\n\tat org.json.simple.parser.Yylex.yylex(Yylex.java:610) ~[json-simple-1.1.1.jar!/:na]\r\n\tat org.json.simple.parser.JSONParser.nextToken(JSONParser.java:269) ~[json-simple-1.1.1.jar!/:na]\r\n\tat org.json.simple.parser.JSONParser.parse(JSONParser.java:118) ~[json-simple-1.1.1.jar!/:na]\r\n\tat org.json.simple.parser.JSONParser.parse(JSONParser.java:81) ~[json-simple-1.1.1.jar!/:na]\r\n\tat org.json.simple.parser.JSONParser.parse(JSONParser.java:75) ~[json-simple-1.1.1.jar!/:na]\r\n\tat com.capitalone.dashboard.client.DefaultJiraClient.getBoards(DefaultJiraClient.java:206) ~[jira-feature-collector.jar!/:2.0.5-SNAPSHOT]\r\n\tat com.capitalone.dashboard.client.team.TeamDataClientImpl.updateTeamInformation(TeamDataClientImpl.java:62) [jira-feature-collector.jar!/:2.0.5-SNAPSHOT]\r\n\tat com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:107) [jira-feature-collector.jar!/:2.0.5-SNAPSHOT]\r\n\tat com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:28) [jira-feature-collector.jar!/:2.0.5-SNAPSHOT]\r\n\tat com.capitalone.dashboard.collector.CollectorTask.run(CollectorTask.java:63) [core-2.0.5-SNAPSHOT.jar!/:2.0.5-SNAPSHOT]\r\n\tat org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) [spring-context-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81) [spring-context-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.8.0_161]\r\n\tat java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_161]\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) [na:1.8.0_161]\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [na:1.8.0_161]\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_161]\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_161]\r\n\tat java.lang.Thread.run(Unknown Source) [na:1.8.0_161]\r\n2018-04-14 10:39:25,234 INFO  c.c.d.collector.CollectorTask - Team Data               0        5s\r\n2018-04-14 10:39:25,235 DEBUG c.c.d.c.p.ProjectDataClientImpl - Constructing data collection for the feature widget, project-level data...\r\n2018-04-14 10:39:28,910 ERROR c.c.d.client.DefaultJiraClient - No result was available from Jira unexpectedly - defaulting to blank response. The reason for this fault is the following:RestClientException{statusCode=Optional.absent(), errorCollections=[]}\r\n2018-04-14 10:39:28,912 DEBUG c.c.d.client.DefaultJiraClient - Exception\r\ncom.atlassian.jira.rest.client.api.RestClientException: org.codehaus.jettison.json.JSONException: A JSONArray text must start with '[' at character 2 of \r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/capitalone/Hygieia/issues/comments/381655903","html_url":"https://github.com/capitalone/Hygieia/issues/2146#issuecomment-381655903","issue_url":"https://api.github.com/repos/capitalone/Hygieia/issues/2146","id":381655903,"user":{"login":"email2niranjan","id":38367179,"avatar_url":"https://avatars0.githubusercontent.com/u/38367179?v=4","gravatar_id":"","url":"https://api.github.com/users/email2niranjan","html_url":"https://github.com/email2niranjan","followers_url":"https://api.github.com/users/email2niranjan/followers","following_url":"https://api.github.com/users/email2niranjan/following{/other_user}","gists_url":"https://api.github.com/users/email2niranjan/gists{/gist_id}","starred_url":"https://api.github.com/users/email2niranjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/email2niranjan/subscriptions","organizations_url":"https://api.github.com/users/email2niranjan/orgs","repos_url":"https://api.github.com/users/email2niranjan/repos","events_url":"https://api.github.com/users/email2niranjan/events{/privacy}","received_events_url":"https://api.github.com/users/email2niranjan/received_events","type":"User","site_admin":false},"created_at":"2018-04-16T15:57:47Z","updated_at":"2018-04-16T15:57:47Z","author_association":"NONE","body":"to add...\r\ni also tried increasing/expanding the pagesize to a very high value,\r\nwith my original props  and your recommended jira props .. both resulted in same result .. \r\n\r\nwhat else can I try? Pls help\r\n"}}
{"actor":{"display_login":"email2niranjan"}}