How to access IP address of client in workflow post function?

I want to fetch the IP address of the client who is creating an issue. For this I am using workflow post function. I am confused what to use for fetching the IP address of the client.