I know how there's an option to create issue in JIRA from bamboo.
I want to know if there's a way to create a bug or task in JIRA automatically if bamboo build fails.