Mentor/Turbo Mentor (T-34)
Flight Crew Air Transport Pilot (ATP); Flight Crew Instrument; Flight Crew Flight Instructor
Flight Crew Last 90 Days 90; Flight Crew Total 1560; Flight Crew Type 238
Communication Breakdown; Situational Awareness
Conflict NMAC; Deviation - Altitude Crossing Restriction Not Met; Deviation - Altitude Undershoot; Deviation / Discrepancy - Procedural Clearance
Flight Crew Took Evasive Action
Human Factors
Aircraft X was executing a VFR transition from south to north with approval from Lindbergh Tower. There were two other aircraft doing the same thing; another [military trainer aircraft] with [same squadron] callsign and a helicopter. This was in addition to the regular tower communication for their normal operations (takeoff and landing). Tower cleared Aircraft X into the Bravo airspace; but I think he gave me a restriction. I rogered up the clearance but missed the restriction. I was about to come up and ask but at that time had a near- midair with a helicopter coming opposite direction. After that; I heard the tower talking to someone on VHF about my missed restriction of 1;000' AGL. I'm very sorry about this. I will brief my [team] during our [review] so that everyone is aware of this possibility of happening and the importance of using good CRM with everyone on freq.
Military Pilot reported a NMAC because they missed an ATC restriction.