Started a day ago, mild pain shooting up from scrotum/testicle area. Lasts 2 sec, then gone for 1or2 hrs. No fever/swelling. Kidney stone? Red flags?

Muscle spasm. In absence of other urinary symptoms and trauma most likely benign condition due to muscle spasm for short duration .If it becomes more intense in pain or longer in duration need need to seek urgent medical care.