Change an issue's project programatically in jira plugin

Hi all,

I’m developing a plugin that’s executed as a post function after an issue is created via a mail handler. What I’m trying to achieve is to assign the newly created issue to a certain project according to a certain keyword on the issue’s description. Is there any way to achieve this programatically?

Thank you all.

Regards,
Marcos