Hi,
I am using this query to come out a list of request types which tied to the project key when searching for issue:
#if($issue.project.key)
select request_type_id, name
from tableA
where pkey = '$issue.project.key'
order by name
#else
select request_type_id, name
from tableA
order by name
#end
However, it seems like the $issue.project.key always return NULL because I always get the result from the else statement.
Could you please provide an alternative way?
Where is this velocity being rendered?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.