To get Jirachi in PokéPark, you'll enter a password from the menu screen. Look for the options there, which include "Go to PokéPark," "Password," and "Options."
Click on "Password," then input the correct one. The password depends on your game's language:
Enter the one that matches your version, and Jirachi will be unlocked.