AS impact on Male Fertility

I have heard mixed things whether AS affects male fertility. I think one study said that inflammatory arthritis when a guy is young (I was 15 when mine started) could negatively affect male fertility. Anyone heard about that?

I am a bi guy married to a man and never tried to have children the natural way.