bug_tracker::status_pretty (public)

 bug_tracker::status_pretty status

Defined in packages/bug-tracker/tcl/bug-tracker-procs.tcl

Parameters:
status (required)

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::bug::get_instance_workflow_id bug_tracker::bug::get_instance_workflow_id (public) workflow::state::fsm::get workflow::state::fsm::get (public) workflow::state::fsm::get_id workflow::state::fsm::get_id (public) bug_tracker::status_pretty bug_tracker::status_pretty bug_tracker::status_pretty->bug_tracker::bug::get_instance_workflow_id bug_tracker::status_pretty->workflow::state::fsm::get bug_tracker::status_pretty->workflow::state::fsm::get_id

Testcases:
No testcase defined.
Source code:
    set workflow_id [bug_tracker::bug::get_instance_workflow_id]
    if { [catch {set state_id [workflow::state::fsm::get_id -workflow_id $workflow_id -short_name $status]} error] } {
        return ""
    }

    workflow::state::fsm::get -state_id $state_id -array state

    return $state(pretty_name)
Generic XQL file:
packages/bug-tracker/tcl/bug-tracker-procs.xql

PostgreSQL XQL file:
packages/bug-tracker/tcl/bug-tracker-procs-postgresql.xql

Oracle XQL file:
packages/bug-tracker/tcl/bug-tracker-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: