Where can i get the field name list of bugzilla?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Where can i get the field name list of bugzilla?

huyihui
Where can I get the field name list?
For example, the Product's fieldname is product?
Thanks a lot.


_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

RE: Where can i get the field name list of bugzilla?

Marwa Arbi
Hello,
under \Bugzilla\template\en\default\global\field-descs.none.tmpl



-----Message d'origine-----
De : support-bugzilla-bounces+marwa.arbi=[hidden email] [mailto:support-bugzilla-bounces+marwa.arbi=[hidden email]] De la part de huyihui
Envoyé : mercredi 14 novembre 2012 07:15
À : [hidden email]
Objet : Where can i get the field name list of bugzilla?

Where can I get the field name list?
For example, the Product's fieldname is product?
Thanks a lot.


_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

Re: Where can i get the field name list of bugzilla?

huyihui
In reply to this post by huyihui
So the summary's field name is the short_desc?
Because there is a line in the file of field-descs.none.tmpl:
"short_desc"              => "Summary",

I want a hook to create bug from excel, and I need know every field's name.


"Marwa Arbi" <[hidden email]> ????
news:[hidden email]...
Hello,
under \Bugzilla\template\en\default\global\field-descs.none.tmpl



-----Message d'origine-----
De : support-bugzilla-bounces+marwa.arbi=[hidden email]
[mailto:support-bugzilla-bounces+marwa.arbi=[hidden email]]
De la part de huyihui
Envoyé : mercredi 14 novembre 2012 07:15
À : [hidden email]
Objet : Where can i get the field name list of bugzilla?

Where can I get the field name list?
For example, the Product's fieldname is product?
Thanks a lot.


_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you
reply.



_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

Re: Where can i get the field name list of bugzilla?

Gervase Markham
On 14/11/12 12:33, huyihui wrote:
> So the summary's field name is the short_desc?

Yes.

> I want a hook to create bug from excel, and I need know every field's name.

That file is one good place to look. Another is to simply query the
database structure (e.g. using DESCRIBE <tablename> from your database's
command-line client).

Gerv

_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

Re: Where can i get the field name list of bugzilla?

huyihui
But it seems that summary's field name can be summary too.
I can use field name "summary" to create bug with a BZ::Client API.
%params ={
summary => "",
description => "",
...
}
So it can be more than one field name for some field?

"Gervase Markham" <[hidden email]> дÈëÏûÏ¢
news:[hidden email]...

> On 14/11/12 12:33, huyihui wrote:
>> So the summary's field name is the short_desc?
>
> Yes.
>
>> I want a hook to create bug from excel, and I need know every field's
>> name.
>
> That file is one good place to look. Another is to simply query the
> database structure (e.g. using DESCRIBE <tablename> from your database's
> command-line client).
>
> Gerv
>


_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.