My Work Out is like this
"select name from task where project in (select id from project where C_OrgUnitID='" + GroupID + "') and id in (SELECT ID FROM task WHERE C_TrackID= '" + trackid + "')";
"SELECT WorkItem.Name,Resource.Name FROM RegularResourceLink WHERE Resource IN (SELECT id FROM User WHERE email in ('" + UserEmailID + "')) and WorkItem IN (SELECT ID FROM task WHERE C_TrackID= '" + trackid + "')";
but i Need with relation with C_OrgUnitID (i.e Instancy Group ID),C_TrackID (i.e Instancy Track ID) and EMAIL to get task id
Thanks