Wash the rice and soak for 30 minutes. Drain the water and keep aside.
Heat oil in a pan on a medium flame and add all the spices, sauté for a minute.
Add chopped onions to the spices, fry till they turn light brown.
Add soaked rice, green peas , green chillies , mint leaves. Mix well and sauté for 3 minutes.
Boil 4 cups of water separately in a vessel.
When the water starts boiling add the rice and peas mixture.
Add salt to taste and mix gently.
Put the vessel in pressure cooker and cook on medium flame till 3 whistles. Allow the cooker to cool and remove the vessel from cooker, fluff the rice gently with a fork. Serve hot with any curry.