austinmoody-fogbugz-api 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/TODO +25 -1
- data/lib/fogbugz-api.rb +3 -2
- metadata +1 -1
data/TODO
CHANGED
@@ -1,4 +1,28 @@
|
|
1
1
|
== FogBugz API Todo
|
2
2
|
|
3
|
-
* Finish it! At the moment it is very incomplete. Pretty much just the list functions, search, and
|
3
|
+
* Finish it! At the moment it is very incomplete. Pretty much just the list functions, search, and new_case. Essentially take a look at the FogBugz API and see what is missing. Specifically:
|
4
|
+
* Case manipulation
|
5
|
+
* edit, assign, reactivate, reopen, resolve, close, email, reply, forward
|
6
|
+
* file uploads
|
7
|
+
* new area
|
8
|
+
* new person
|
9
|
+
* new fix for
|
10
|
+
* view project
|
11
|
+
* view area
|
12
|
+
* view person
|
13
|
+
* view fix for
|
14
|
+
* view category
|
15
|
+
* view priority
|
16
|
+
* view status
|
17
|
+
* view mailbox
|
18
|
+
* working schedule
|
19
|
+
* time tracking
|
20
|
+
* source control
|
21
|
+
* release notes
|
22
|
+
* wikis
|
23
|
+
* discussion groups
|
24
|
+
* BugzScout
|
25
|
+
* subscriptions
|
26
|
+
* mark as viewed
|
27
|
+
* settings
|
4
28
|
* Create tests and make sure they work.
|
data/lib/fogbugz-api.rb
CHANGED
@@ -167,7 +167,7 @@ class FogBugz
|
|
167
167
|
return list_process(result,"category","sCategory")
|
168
168
|
end
|
169
169
|
|
170
|
-
def
|
170
|
+
def priorities
|
171
171
|
cmd = {"cmd" => "listPriorities", "token" => @token}
|
172
172
|
result = Hpricot.XML(@connection.post(@api_url,to_params(cmd)).body)
|
173
173
|
return list_process(result,"priority","sPriority")
|
@@ -236,7 +236,8 @@ class FogBugz
|
|
236
236
|
"cmd" => "search",
|
237
237
|
"token" => @token,
|
238
238
|
"q" => q,
|
239
|
-
|
239
|
+
# ixBug is the key for the hash returned so I'm adding it to the cols array just in case
|
240
|
+
"cols" => (cols + ["ixBug"]).join(",")
|
240
241
|
}
|
241
242
|
cmd = {"max" => max}.merge(cmd) if max
|
242
243
|
result = Hpricot.XML(@connection.post(@api_url,to_params(cmd)).body)
|