To dream that you are telling a joke, suggests that you are not being taken seriously and as a result you are feeling frustrated.
On the other hand, you may not be taking an issue seriously.
To hear a joke in your dream, signifies that you are doing something pointless.
It may also mean a release from tension that had been bothering you.
Also see “Practical Joke.”