There are special rules when traveling to a destination within the Common Travel Area.
For Ireland, as the destination, you do not need a Visa to pass through the UK in transit if you have a Irish biometric visa (marked ‘BC’ or ‘BC BIVS’ in the ‘Remarks’ section).
Visa to pass through the UK in transit: Visitor in Transit visa - GOV.UK
...
Travel to the Channel Islands, the Isle of Man or Ireland
You might need to apply for a visitor visa to travel through the UK to get to the Channel Islands, the Isle of Man or Ireland.
You’ll usually need to apply for a Standard Visitor visa [if you’re staying in the UK for more than 48 hours] unless you’re exempt.
You do not need a UK visitor visa if:
- you have a valid visa for the Channel Islands or the Isle of Man
- you have a valid Irish biometric visa (marked ‘BC’ or ‘BC BIVS’ in the ‘Remarks’ section)
...