# Geolocation in the Jira Cloud Plugin

**URL:** <https://community.developer.atlassian.com/t/geolocation-in-the-jira-cloud-plugin/51030>\
**Category:** Jira Cloud\
**Created:** [August 16, 2021, 11:26am UTC](https://community.developer.atlassian.com/t/geolocation-in-the-jira-cloud-plugin/51030 "2021-08-16T11:26:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mik](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@Mik](https://community.developer.atlassian.com/u/Mik)\
**Post date:** [August 16, 2021, 11:26am UTC](https://community.developer.atlassian.com/t/geolocation-in-the-jira-cloud-plugin/51030/1 "2021-08-16T11:26:46Z")

</div>

Hi Everyone,

In the plugin for JIRA Cloud that I am currently building, the function of finding the current position of the user is necessary.

Unfortunately, when it invokes functionality, it gets:

> Geolocation has been disabled in this document by permissions policy…

The deviceorientationabsolute events are blocked by permissions policy. See [https://github.com/w3c/webappsec-permissions-policy/blob/master/features.md#sensor-features](https://github.com/w3c/webappsec-permissions-policy/blob/master/features.md#sensor-features)

It looks like the problem might be that my plugin (Dashboard Item) is nested in Iframe.

I think a similar problem is described here, but there is no answer, unfortunately.

> [@Geolocation Feature Policy](https://community.developer.atlassian.com/t/geolocation-feature-policy/33735):
>
> Hello, I’m working on a Jira Cloud Plugin that need the current logged in user geolocation to validate if the user is close enough to an issue written location and check if the user should be able to move that issue. I added a Jira Issue Content to make a button visible from the issue screen and a function to request te user locations, but it seems like jira has a policy where I cannot ask for the user geolocation, and gives me the next error: “Geolocation has been disabled in this document by …

Can someone please help with this issue?

Regards,  
Mik
