Page 1 of 1

Change severities list for one project but not for the other

Posted: 04 Feb 2007, 21:04
by kinetic
Hi,
I would like to show different severities list, according to the project on which I work.

Is there any variable like "projet_name" which I can put in my code :
if $project_name="myproject" { ... }

Thanks by advance
Nicholas

Posted: 09 Feb 2007, 21:41
by matto
you can use the following to get the project id number and use that in a switch statement.

$p_project_id = helper_get_current_project();