I want to fetch IP address of the client who clicks on the create button of jira server and creates an issue. I know the code of fetching IP address but don't know how to integrate it with jira.
I would suggest adding a custom field and capturing it that way instead of editing the JAR file. There are several apps that allow for this or you can use this solution https://community.atlassian.com/t5/Jira-questions/Capture-local-ip-address-and-store-it-in-a-custom-field-at-the/qaq-p/32401
There is no bullet proof way to do it safely and automatically . Let the user enter their own IP Address. If the users are non-technical, link the documentation on the create mask.
Assuming you are working in an enterprise environment and.....
this is a life or death situation for you, write a script to find the ip and create Jira ticket with this information over the REST API and distribute this script to all PCs. Instruct your users to create tickets with the script and edit the other fields in the next transition.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event