5.7.172. Bugzilla::Extension::ExternalBugs::Util¶
5.7.172.1. NAME¶
Bugzilla::Extension::ExternalBugs::Util - Generic utility functions for bugzilla external bugs support.
5.7.172.2. SYNOPSIS¶
use Bugzilla::Extension::ExternalBugs::Util;
# Function for creating proper url for accessing the external bug/issue
perform_subst($url_template, { id => $bug_id });
5.7.172.3. DESCRIPTION¶
This package contains various utility functions which do not belong anywhere else.
It is not intended as a general dumping group for something which people feel might be useful somewhere, someday. Do not add methods to this package unless it is intended to be used for a significant number of files, and it does not belong anywhere else.
5.7.172.4. FUNCTIONS¶
perform_substs
- Description
Returns a properly formatted url based on template substitutions to an external bug/issue.
- Params
- Returns
string - Full url to the external bug/issue