Turn on Saute mode, and add more oil if needed. Once the oil is hot, add all whole spices and cook for few seconds.
Next green chilis, and curry leaves and saute for a minute.
Next, add green chili paste, and ginger garlic paste, and saute for a few seconds. Make sure nothing is sticking on the bottom. Add tbsp of water if it starts sticking on the bottom.
Add shallots, brown onion paste, yogurt to liner. Cook for a minute.
Add bone in chicken coat it well with all the masala. Add finely chopped cilantro, and mint leaves, give it a good mix.
Immediately add coconut milk, salt, water, and garam masala, fried cashews and give it a good mix. By making sure the bottom is not burned.
Add ghee to the boiling water. Turn off SAUTE mode.
Close the instant pot lid and set it on pressure cook for 3 min. Hit cancel when the timer is off.
Open the lid, add soaked and drained rice to the instant pot, and gently mix it.
Close the instant pot lid and set it on pressure cook for 5 min. Hit cancel when the timer is off and wait for 10 minutes before you open the lid. Fluff the rice with a fork before serving.
Serve it with chicken curry and raita.