Open source software written in PHP, free and paid versions, see overview here
Can be hosted or self-hosted.
Ranked in these QuestionsQuestion Ranking
Built-in Wiki with MarkDown support.
Pro Custom issue fields
The Bug Genie supports having any number of custom issue fields for any type of issue.
The Bug Genie is a free and open source tool.