If you have the editcomponents permission, you can edit Flag Types from the main administration page. Clicking the Flags link will bring you to the Administer Flag Types page. Here, you can select whether you want to create (or edit) a Bug flag or an Attachment flag.
The two flag types have the same administration interface, and the interface for creating a flag and editing a flag have the same set of fields.
You can set a flag to be visible or not visible on any combination of products and components.
Default behaviour for a newly created flag is to appear on all products and all components, which is why __Any__:__Any__ is already entered in the Inclusions box. If this is not your desired behaviour, you must either set some exclusions (for products on which you don't want the flag to appear), or you must remove __Any__:__Any__ from the Inclusions box and define products/components specifically for this flag.
To create an Inclusion, select a Product from the top drop-down box. You may also select a specific component from the bottom drop-down box. (Setting __Any__ for Product translates to "all the products in this Bugzilla". Selecting __Any__ in the Component field means "all components in the selected product.") Selections made, press Include, and your Product/Component pairing will show up in the Inclusions box on the right.
To create an Exclusion, the process is the same: select a Product from the top drop-down box, select a specific component if you want one, and press Exclude. The Product/Component pairing will show up in the Exclusions box on the right.
This flag will appear and can be set for any products/components appearing in the Inclusions box (or which fall under the appropriate __Any__). This flag will not appear (and therefore cannot be set) on any products appearing in the Exclusions box. IMPORTANT: Exclusions override inclusions.
You may select a Product without selecting a specific Component, but you cannot select a Component without a Product. If you do so, Bugzilla will display an error message, even if all your products have a component by that name. You will also see an error if you select a Component that does not belong to the selected Product.
Example: Let's say you have a product called Jet Plane that has thousands of components. You want to be able to ask if a problem should be fixed in the next model of plane you release. We'll call the flag fixInNext. However, one component in Jet Plane is called Pilot, and it doesn't make sense to release a new pilot, so you don't want to have the flag show up in that component. So, you include Jet Plane:__Any__ and you exclude Jet Plane:Pilot.
When you are at the Administer Flag Types screen, you will be presented with a list of Bug flags and a list of Attachment Flags.
To delete a flag, click on the Delete link next to the flag description.
Warning
Once you delete a flag, it is gone from your Bugzilla. All the data for that flag will be deleted. Everywhere that flag was set, it will disappear, and you cannot get that data back. If you want to keep flag data, but don't want anybody to set any new flags or change current flags, unset active in the flag Edit form.
This documentation undoubtedly has bugs; if you find some, please file them here.