Closed Bug 295348 Opened 20 years ago Closed 20 years ago

XML Bug Template without comments

Categories

(Bugzilla :: Bugzilla-General, enhancement)

2.19.3
enhancement
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: gears, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Bugzilla should have a URL to retrieve just the status of a bug, no graphics,
forms, or links. This would allow external tools to monitor the status of a bug
without severely hurting bugzilla performance for interactive use. This would
facilitate cross-repository dependencies.

This would reduce the need for work-arounds like this Evolution plugin which
deletes bugmail that has been already resolved:
http://www.gnome.org/~markmc/code/delete-resolved-bugs.c

Screen scraping existing show_bug.cgi, show_activity.cgi, long_list.cgi would be
fragile, and slow.

Reproducible: Always

Steps to Reproduce:
1. Attempt to check on the status of 3000 bugs 
2. Cry.
3.

Actual Results:  
Induced vomitting.

Expected Results:  
Created world peace.
We already have an XML bug template which works quite well for getting data from
Bugzilla through automated means. Just add &ctype=xml to the end of your
show_bug.cgi link.

What would be useful is a version of this template without comments.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hardware: PC → All
Summary: Just Status should be accessible via simple URL → XML Bug Template without comments
Version: unspecified → 2.19.3
you can already do this, using the undocumented (bug 189154) excludefield (bug
136603) parameter.

to get the xml of a bug, excluding the comments, use

  show_bug.cgi?id=295348&ctype=xml&excludefield=long_desc

Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.