Your question resolves down to "IT DOES NOT WORK".
You won't get many answers.
My guess is both JBoss and JIRA use port 8080
Jira comes in two flavors: a standalone tomcat version and a jira.war ...
Let me guess what version you are trying to use ...