Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to see which country my customer is from?

Marthine May 28, 2018

Dear readers, 

 

For reporting reasons we would really like to now where our customers are based. Because we work very international we want to make a report on which country is the most demanding. For example and what kind of infrastructuur is as most effected and so on. 

 

For now I did not find such thing in Jira.. 

Thanks in advance!

Kind regards, Marthine 

3 answers

1 accepted

2 votes
Answer accepted
Danyal Iqbal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 28, 2018

You can use the visitorsa IP address to get their 'country', 'city', 'isp' etc...
Just use one of the web-services that provide you with a simple api like http://ip-api.com which provide you a JSON service at http://ip-api.com/json. Simple send a Ajax (or Xhr) request and then parse the JSON to get whatever data you need e.g

var requestUrl = "http://ip-api.com/json";
$.ajax({  url: requestUrl,  type: 'GET',  success: function(json)
  {    console.log("My country is: " + json.country);
  },  error: function(err)
  {    console.log("Request failed, error= " + err);
  }
});
Marthine May 30, 2018

Thanks for this! 

2 votes
Edwin Beentjes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 4, 2018

The visitorsa IP address to get their 'country' is an option, but we also create tickets manually, with this, the trick does not work.
How difficult can it be to add an field to the customers details, so you can filter on country or city? 
What is a service desk tool without customers details/contact info?
Just an email and a name is not sufficient.

A solution for this is very welcome!  :-)

0 votes
Gezim Shehu [Communardo]
Community Champion
May 28, 2018

Hi,

 

I really don't think JIRA should have the info for this. Meaning that it can't know by itself.

If you have any other way of knowing, maybe network traffic or smth similar, you could then store it.

 

Or even ask your customer with a simple field.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events