You can create a new Custom Field that when an issue changes from 'Bug' to 'New Featura' put a value in custom field (ex. 'Yes') (you can do these with custom listener).
So, you'll have more easy to make the condition of groovy, because you've only have to check on the condition if the custom field is set to 'yes'.
Hope it helps.
i am not getting exactly what do you want achive!!
can you explain little bit more about your requirement.
check this it may help you
In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to have–in order to produce a reliable long-term roadmap. We're tur...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs