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
(defaults to "bt_bug") (optional)
-content_type
(defaults to "bt_bug_revision") (optional)
-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):
%3 bug_tracker::bug::new bug_tracker::bug::new (public) bug_tracker::bug::insert bug_tracker::bug::insert bug_tracker::bug::new->bug_tracker::bug::insert ad_conn ad_conn (public) bug_tracker::bug::insert->ad_conn bug_tracker::bug::cache_flush bug_tracker::bug::cache_flush (public) bug_tracker::bug::insert->bug_tracker::bug::cache_flush db_string db_string (public) bug_tracker::bug::insert->db_string oacs_util::vars_to_ns_set oacs_util::vars_to_ns_set (public, deprecated) bug_tracker::bug::insert->oacs_util::vars_to_ns_set package_instantiate_object package_instantiate_object (public) bug_tracker::bug::insert->package_instantiate_object

Testcases:
No testcase defined.
[ show source ]
Show another procedure: