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 vote
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 vote

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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

172 views 1 17
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