HI,
I wanted to show the plugin web panel based on the issue type and the component matched it not then simply it should not display it.
What I did is...in java class i get the issue type and components and put to context map and the same checking in the .vm file like
if ($issueType == "Task" && CompName == 'Jira')
//display
#end
But in this the panel is displaynig on Task and other issue types.
If the issue type is Task and component is Jira then it's displaying as expected but if the issue type is Bug then also the web panel is displaying with an error.
So if the condition does not match (issue type and component) then the web panel should not display.
Any help would be appreciated.
Thanks,
Yogesh