hard to find closed tasks through the searchTasks() API

Bug #672883 reported by Alex Chiang
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Currently, the searchTasks() API will not return bugs in the "Closed" state (Won't Fix, Invalid, Fix Released).

This behavior is not documented in the API documentation here:
https://edge.launchpad.net/+apidoc/1.0.html

In order to get a list of all bugs, one must do something like the following:
http://paste.ubuntu.com/526361/

Two launchpad hackers have wondered aloud if this behavior should be a bug.

1) start reading conversation here: http://irclogs.ubuntu.com/2010/11/05/%23launchpad.html#t15:04 . Interesting bit comes at 15:16 in the conversation.

2) stray review comment during merge proposal: https://code.launchpad.net/~achiang/laika/status_fix/+merge/40266/comments/90824/

Thanks for considering this.

Tags: api lp-bugs doc
Jelmer Vernooij (jelmer)
affects: launchpad → malone
Revision history for this message
Deryck Hodge (deryck) wrote :

I don't think we should change the current behavior because for another class of user including closed bugs would really annoy. We should document the current behavior and perhaps had some convenience parameters or object to make it easier to include closed bugs. For example, if we could understand enums via the api and say status=BugTaskStatus (or some such). Or else we should add an include_closed=True param.

Cheers,
deryck

Changed in malone:
status: New → Triaged
importance: Undecided → Low
tags: added: api doc
Revision history for this message
Alex Chiang (achiang) wrote :

Deryck,

I would be happy with both:

a) documentation of existing behavior

and

b) some convenience parameters.

Thanks!

Martin Pool (mbp)
summary: - searchTasks() API should search all bug statuses by default
+ hard to find closed tasks through the searchTasks() API
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.