Heat oil in a medium saucepan. Add jalapeno, ginger and shallot.
Cook, over a low heat, for 5 minutes or until the shallot is tender. Add pear, vinegar, brown sugar and salt. Stir in water.
Cover and cook over a low heat for 15 minutes or until pear is tender. (Add a tablespoon of water if mixture becomes dry).
Stir in spring onion and cook for 1 minute to soften.
Place in sterilised jam jars and leave to cool.