Q.wilted jasmine
My jasmine is looking wilted and the leaves have all gone a lot darker. Could you help me please? The plant is in a clay pot and tied to a pergola. It has been ok and flowering for over a year.

It may have become root bound and is lacking both moisture and nutrition.
Also check for insects or a fungus issue. If you suspect this, treat the plant with Neem Oil.
Neem Oil works as both an insecticide and fungicide.
Here is a link that will help you.
https://www.gardeningknowhow.com/ornamental/flowers/jasmine/repotting-jasmine-plants.htm
https://www.gardeningknowhow.com/plant-problems/pests/pesticides/neem-oil-uses.htm