The intriguing interplay between topology and superconductivity has attracted significant attention, given its potential for realizing topological superconductivity. In the quantum anomalous Hall insulators (QAHIs)-based junction, the supercurrents are carried by the chiral edge states, characterized by a 2Φ0 magnetic flux periodicity (Φ0=h/2e is the flux quantum, h the Planck constant, and e the electron charge). However, experimental observations indicate the presence of bulk carriers in QAHI samples due to magnetic dopants. In this study, we reveal a systematic transition from edge-state to bulk-state dominant supercurrents as the chemical potential varies from the bulk gap to the conduction band. This results in an evolution from a 2Φ0-periodic oscillation pattern to an asymmetric Fraunhofer pattern. Furthermore, a Fraunhoher-like pattern emerges due to the coexistence of chiral edge states and bulk states caused by magnetic domains, even when the chemical potential resides within the gap. These findings not only advance the theoretical understanding but also pave the way for the experimental discovery of the chiral Josephson effect based on QAHI doped with magnetic impurities. Published by the American Physical Society 2024