# How to access jira core feature in jira cloud app

**URL:** <https://community.developer.atlassian.com/t/how-to-access-jira-core-feature-in-jira-cloud-app/31839>\
**Category:** Jira Cloud\
**Created:** [September 13, 2019, 6:07am UTC](https://community.developer.atlassian.com/t/how-to-access-jira-core-feature-in-jira-cloud-app/31839 "2019-09-13T06:07:49Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sankar](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Sankar](https://community.developer.atlassian.com/u/Sankar)\
**Post date:** [September 13, 2019, 6:07am UTC](https://community.developer.atlassian.com/t/how-to-access-jira-core-feature-in-jira-cloud-app/31839/1 "2019-09-13T06:07:49Z")

</div>

Hi all,

I created an app using jira cloud (atlassian-connect.json). With the help of this tutorial I created app and installed.

> **[Getting started with Connect](https://developer.atlassian.com/cloud/jira/platform/getting-started-with-connect/)**
>
> Learn how to extend or build apps for Jira Cloud with Connect.

So it’s restricted to one user. I want to build a plugin in organization level.

For eg in my organization have 10 people. All will install my app. If any user created any record(Submit form in my app) all other members in that company have to see that infomration.

How can I achieve this feature in cloud.  
I want to get installed user organization details and members in each organization, projects and issues/tasks in it.

Please suggest.

---

<div class="post-metadata">

**Author:** ![anon21029823](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@anon21029823](https://community.developer.atlassian.com/u/anon21029823)\
**Post date:** [September 16, 2019, 1:50pm UTC](https://community.developer.atlassian.com/t/how-to-access-jira-core-feature-in-jira-cloud-app/31839/2 "2019-09-16T13:50:52Z")

</div>

What exactly do you mean by:

> [@Sankar](#):
>
> So it’s restricted to one user.  
> […]  
> my organization have 10 people. All will install my app.

Apps are installed per instance, not per user. So your app only needs to be installed once. After that everybody on your instance should be able to use it. Simply display your data in a web panel or in a custom page and it should be visible for everyone.

---

<div class="post-metadata">

**Author:** ![Sankar](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Sankar](https://community.developer.atlassian.com/u/Sankar)\
**Post date:** [September 17, 2019, 3:06am UTC](https://community.developer.atlassian.com/t/how-to-access-jira-core-feature-in-jira-cloud-app/31839/3 "2019-09-17T03:06:10Z")

</div>

Hi Sven,

> [@anon21029823](#):
>
> Apps are installed per instance, not per user.

Yes. You are right. How can I get all users of that instance using rest api calls.

---

<div class="post-metadata">

**Author:** ![acalantog](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/acalantog/32/37988_2.png) [@acalantog](https://community.developer.atlassian.com/u/acalantog)\
**Post date:** [September 17, 2019, 5:13am UTC](https://community.developer.atlassian.com/t/how-to-access-jira-core-feature-in-jira-cloud-app/31839/4 "2019-09-17T05:13:45Z")

</div>

Hi @Sankar,

This endpoint [https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-user-search-get](https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-user-search-get) might help you. You can try `query=` for all but take note of the pagination.

Cheers,  
Anne

---

<div class="post-metadata">

**Author:** ![Sankar](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Sankar](https://community.developer.atlassian.com/u/Sankar)\
**Post date:** [September 17, 2019, 6:25am UTC](https://community.developer.atlassian.com/t/how-to-access-jira-core-feature-in-jira-cloud-app/31839/5 "2019-09-17T06:25:28Z")

</div>

Hi Anne,

> [@acalantog](#):
>
> This endpoint [https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-user-search-get](https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-user-search-get) might help you. You can try `query=` for all but take note of the pagination.

Tried this. Getting error `Encountered a `“403 - Forbidden”` error while loading this page.`

---

<div class="post-metadata">

**Author:** ![acalantog](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/acalantog/32/37988_2.png) [@acalantog](https://community.developer.atlassian.com/u/acalantog)\
**Post date:** [September 17, 2019, 6:27am UTC](https://community.developer.atlassian.com/t/how-to-access-jira-core-feature-in-jira-cloud-app/31839/6 "2019-09-17T06:27:59Z")

</div>

Hi @Sankar,

Does your app have the right permission? And when you go to General Settings -\> Permission, is app group in “Browse Users and Groups”?

Cheers,  
Anne

---

<div class="post-metadata">

**Author:** ![Sankar](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Sankar](https://community.developer.atlassian.com/u/Sankar)\
**Post date:** [September 17, 2019, 6:32am UTC](https://community.developer.atlassian.com/t/how-to-access-jira-core-feature-in-jira-cloud-app/31839/7 "2019-09-17T06:32:17Z")

</div>

Hi @acalantog,  
I haven’t found that setting. Can you please share screenshot of that navigation.

---

<div class="post-metadata">

**Author:** ![acalantog](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/acalantog/32/37988_2.png) [@acalantog](https://community.developer.atlassian.com/u/acalantog)\
**Post date:** [September 17, 2019, 6:34am UTC](https://community.developer.atlassian.com/t/how-to-access-jira-core-feature-in-jira-cloud-app/31839/8 "2019-09-17T06:34:12Z")

</div>

Hi @Sankar ,

Like this:

 ![image](https://global.discourse-cdn.com/atlassiandeveloper/original/3X/b/4/b4a19a7604c2e50b90d93d28f1990a00a4d7e3cf.png)

Cheers,  
Anne

---

<div class="post-metadata">

**Author:** ![Sankar](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Sankar](https://community.developer.atlassian.com/u/Sankar)\
**Post date:** [September 17, 2019, 6:39am UTC](https://community.developer.atlassian.com/t/how-to-access-jira-core-feature-in-jira-cloud-app/31839/9 "2019-09-17T06:39:50Z")

</div>

Gave permission but still same error.

---

<div class="post-metadata">

**Author:** ![anon21029823](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@anon21029823](https://community.developer.atlassian.com/u/anon21029823)\
**Post date:** [September 17, 2019, 6:59am UTC](https://community.developer.atlassian.com/t/how-to-access-jira-core-feature-in-jira-cloud-app/31839/10 "2019-09-17T06:59:29Z")

</div>

From what context are you calling the endpoint? Can you share your code and the `scope` part of your `atlassian-connect.json`?

---

<div class="post-metadata">

**Author:** ![Sankar](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Sankar](https://community.developer.atlassian.com/u/Sankar)\
**Post date:** [September 17, 2019, 7:03am UTC](https://community.developer.atlassian.com/t/how-to-access-jira-core-feature-in-jira-cloud-app/31839/11 "2019-09-17T07:03:53Z")

</div>

scope:

```auto
scopes":[  
      "read",
      "write",
      "act_as_user"
   ]

```

code:

```auto
AP.require("request", function(request) {
    request ({
        method: 'GET',
        url: 'https://experinator.atlassian.net/rest/api/2/users/search?query=',
         beforeSend: function(xhr) { 
              xhr.setRequestHeader("Accept", "*/*");
              xhr.setRequestHeader("Cache-Control", "no-cache");
              xhr.setRequestHeader("content-type", "application/x-www-form-urlencoded");
        },
       dataType: 'json',
       success: function(msg) {
             console.log(msg);
       },
       error: function(msg) {
              console.log(msg)
        }
     });
 });

```

---

<div class="post-metadata">

**Author:** ![acalantog](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/acalantog/32/37988_2.png) [@acalantog](https://community.developer.atlassian.com/u/acalantog)\
**Post date:** [September 17, 2019, 7:41am UTC](https://community.developer.atlassian.com/t/how-to-access-jira-core-feature-in-jira-cloud-app/31839/12 "2019-09-17T07:41:05Z")

</div>

Hi @Sankar,

In your payload, url can be relative so it looks like `/rest/api/latest/user/search?query=` and the API resolves it for you. And it’s `/user` and not `/users`. I don’t think you need the extra headers.

Please note that the [AP.request](https://developer.atlassian.com/cloud/jira/platform/jsapi/request/)`calls the endpoint on behalf of the user and not the app which means that the logged in user should have the right access and permission

Cheers,  
Anne
