The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Method to add ticket location

Alexandra.Groza
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!
May 16, 2024

Hi,

We're just implementing the ticketing system through Jira cloud and it would be very useful to have a way to automatically generate ticket location so teams across the globe can quickly pick up the most urgent issues.
I have two methods i can think of now:

1. A way to automatically import users location when syncing with Entra

2. Have an option to generate a dynamic column in the queues depending on IP

Which one do you think it's more doable?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Jeroen Poismans
Community Champion
May 16, 2024

Hi there and Welcome to the Community!

There are some services online where you can make a REST call with an IP and you get a JSON with geolocation data as a response.

Example, this one is free:
https://ip-api.com/docs/api:json

Request:

http://ip-api.com/json/24.48.0.1

Gives this response:

{
  "query": "24.48.0.1",
  "status": "success",
  "country": "Canada",
  "countryCode": "CA",
  "region": "QC",
  "regionName": "Quebec",
  "city": "Montreal",
  "zip": "H1S",
  "lat": 45.5909,
  "lon": -73.5655,
  "timezone": "America/Toronto",
  "isp": "Le Groupe Videotron Ltee",
  "org": "Videotron Ltee",
  "as": "AS5769 Videotron Ltee"
}

 

From Automation you could do this request on issue create, capture the response, extract what you want and put it in a field on the created ticket. Pretty cool :-) 

Jeroen

Alexandra.Groza
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!
May 19, 2024

Thank you,
We decided to import the location attribute from Entra 

Retrieving location from public IP was not an option anyway

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events