Adding geographic information to a ticket on Jira

Hi All,
I'd like to add geographic information to my tickets but I don't know where to start.
My aim is to search for tickets afterwards based on a specific area I select.
Any hint?

2 answers

0 votes
Daryl Chuah Atlassian Team Jun 18, 2014

Hi Francesco

To be honest, if you would like to include the geographic information to parsed into a JIRA issue, it will gonna need a custom API to do that however currently JIRA does not provide this kind of API itself as you will need to either customize and rewrite it from scratch (which is going to be a very time-consuming/tedios job).

As an alternative, perhaps you can just create a location custom field make it as a required field so that whenever user raised a JIRA issue, they are compulsory to fill up the location field, then later on you may just search based on the location/area field in the issue navigator to sum up all the tickets that you would like to view.

Hi Daryl,

Thanks for your answer. The problem with the alternative solution based on a custom field is that I wouldn't be able to query arbitrary areas though.

0 votes

You can write your own custom field that uses javascript geolocation to get the user location of the creator. However there will be a popup that the user will need to agree to, it's not supported in old browsers, and quality of location info can vary when corporate users connect behind proxies.

That will give you a lat/long which you can display by embedding google maps. Searching by location is not that simple... some databases support geospatial indexes. Or you can probably get the country code from javascript.

The issue collector javascript might be a reasonable place to start looking for inspiration.

Idea for P3 plugin!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,878 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot