Created
June 14, 2013 11:58
-
-
Save adamcameron/5781292 to your computer and use it in GitHub Desktop.
This generates a table of untriaged ColdFusion 10 bugs, pulling the data from the Adobe bugbase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
bugsUrl = "https://bugbase.adobe.com/index.cfm?event=qSearchBugs&page=1&pageSize=500&type=Bugs&product=1149&version=7770&state=OPEN&status=UNVR"; | |
bugUrl = "https://bugbase.adobe.com/index.cfm?event=bug&id="; | |
httpConnection = new Http(URL=bugsUrl, method="get"); | |
bugsJsonP = httpConnection.send().getPrefix().fileContent; | |
bugsJson = removeChars(bugsJsonP, 1, 2); | |
bugs = deserializeJson(bugsJson, false).query; | |
</cfscript> | |
<cfquery name="bugsSorted" dbtype="query"> | |
SELECT ad_s_defect_id AS id, ad_s_created_dt AS dateCreated, ad_s_title AS summary | |
FROM bugs | |
ORDER BY ad_s_defect_id | |
</cfquery> | |
<cfoutput> | |
<table border="1"> | |
<thead> | |
<tr><th>##</th><th>Created</th><th>ID</th><th>Summary</th></tr> | |
</thead> | |
<tbody> | |
<cfloop query="bugsSorted"> | |
<tr> | |
<td>#currentRow#</td> | |
<td>#dateFormat(dateCreated, "yyyy-mm-dd")#</td> | |
<td><a href="#bugUrl##id#" target="_blank">#id#</a></td> | |
<td><a href="#bugUrl##id#" target="_blank">#summary#</a></td> | |
</tr> | |
</cfloop> | |
</tbody> | |
</table> | |
</cfoutput> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment