I am new to plugin development. hence, I have no idea how I can add a method which can fetch the IP addresses of my clients raising issues. I am thinking of using getremoteAddr() method but don’t know how to integrate it with JIRA. Any suggestion could be helpful.
ExecutingHttpRequest has a static
#get method. However if the application is behind a reverse proxy or load balancer (which is common) then it’s likely that the system will need to have implemented a customization such as this:
I have used JiraUserSession to fetch the IP address of my client. However, the IP address received does not matches with the public IP of the client.