Not Getting Record for forum thread under MyThreads category

Hi All,

i have created a discussion ,Recently created discussion is coming successfully for 'All'( the value of forumThreadQueryType) but not coming under Mythreads(the value of forumThreadQueryType). I am following the below mentioned code ,


Can anyone please let me know the appropriated steps need to be taken to solve problem.