I am not sure what exactly you want to achieve this , but yes we can do , we can report a bug into the jira through Selenium.
For this you have to automate the JIRA web pages [img]/images/graemlins/smile.gif[/img]
What i think for doing this is , if we have a data driven framework then we have to declare all the data fields of JIRA bugs in our data files , and write one library function which should be call whenever test scripts get failed. In that function we automated the whole bug report process of JIRA.
I didn't do this thing in my framework , but now i am trying to do that.