bug_tracker::bug::insert (public)
bug_tracker::bug::insert -bug_id bug_id -package_id package_id \ -component_id component_id -found_in_version found_in_version \ -summary summary -description description -desc_format desc_format \ [ -user_agent user_agent ] [ -user_id user_id ] \ [ -ip_address ip_address ] [ -item_subtype item_subtype ] \ [ -content_type content_type ] \ [ -fix_for_version fix_for_version ] [ -assign_to assign_to ]
Defined in packages/bug-tracker/tcl/bug-procs.tcl
Inserts a new bug into the content repository. You probably don't want to run this yourself - to create a new bug, use bug_tracker::bug::new and let it do the hard work for you.
- Switches:
- -bug_id (required)
- -package_id (required)
- -component_id (required)
- -found_in_version (required)
- -summary (required)
- -description (required)
- -desc_format (required)
- -user_agent (optional)
- -user_id (optional)
- -ip_address (optional)
- -item_subtype (optional, defaults to
"bt_bug"
)- -content_type (optional, defaults to
"bt_bug_revision"
)- -fix_for_version (optional)
- -assign_to (optional)
- Returns:
- bug_id The same bug_id passed in, just for convenience.
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.