public void getTicketContents(String ticketId) {
		data = new HashMap<String, String>();
		try {
		    
		    if(user != null && pass != null) {
		        Authenticator.setDefault(new TracAuthenticator());
		    }
		    
			URL url = new URL(prop.getProperty("trac_url") + combo.getSelectedItem() + "/ticket/" + ticketId + "?format=tab");
			BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
			String header = in.readLine();
			String[] keys = header.split("\t");
			String complete = "";
			String line = in.readLine();
			
			while(line != null) {
				complete += (line + " ");
				line = in.readLine();
			}
			
			String[] values = complete.split("\t");
			
			for(int i=0; i<keys.length; i++) {
				if(i < values.length) {
				    data.put(keys[i], values[i]);
				}
			}
			
			String field_header = prop.getProperty("field_header");
			String field_description = prop.getProperty("field_description");
			String field_footer = prop.getProperty("field_footer");
			
			for (String key : keys) {
			    field_header = field_header.replaceAll("\\{" + key + "\\}", data.get(key));
				field_description = field_description.replaceAll("\\{" + key + "\\}", data.get(key));
				field_footer = field_footer.replaceAll("\\{" + key + "\\}", data.get(key));
			}
			
			Map<String, String> d = new HashMap<String, String>();
			d.put("field_header", field_header);
			d.put("field_description", field_description);
			d.put("field_footer", field_footer);
			d.put("ticketId", ticketId);
			d.put("projectName", combo.getSelectedItem().toString());
			toPrint.add(d);
			
		} catch (MalformedURLException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} catch  (Exception e) {
		    e.printStackTrace();
		}
	}