# Adding general page to bitbucket through atlassian connect app

**URL:** <https://community.developer.atlassian.com/t/adding-general-page-to-bitbucket-through-atlassian-connect-app/40244>\
**Category:** Bitbucket Cloud\
**Tags:** bitbucket-cloud, generalpages, atlassian-connect\
**Created:** [July 23, 2020, 12:00pm UTC](https://community.developer.atlassian.com/t/adding-general-page-to-bitbucket-through-atlassian-connect-app/40244 "2020-07-23T12:00:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![piotr.bojko](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/piotr.bojko/32/54608_2.png) [@piotr.bojko](https://community.developer.atlassian.com/u/piotr.bojko)\
**Post date:** [July 23, 2020, 12:00pm UTC](https://community.developer.atlassian.com/t/adding-general-page-to-bitbucket-through-atlassian-connect-app/40244/1 "2020-07-23T12:00:53Z")

</div>

Hello fellow devs,

I am struggling to add general page to Bitbucket using Atlassian Connect as described here [General Page](https://developer.atlassian.com/cloud/bitbucket/modules/general-page/)

My example:

```auto
// ... some atlassian connect descriptor body...
    generalPage: [
      {
        key: 'atlas-bot-test-general-page',
        name: {
          value: 'test general page'
        },
        url: '/someurl?someParam=someValue'
      }
    ],
// ... some atlassian connect descriptor body...

```

Bitbucket consumes the descriptor properly (with generalPage or generalPages property as well). But there is no new menu entry in workspace on which the addon is installed.

I assume that after migration to workspaces this may work differently, even though - is there any link I can build to access such general page directly?

Regards,  
Piotr

---

<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:** [July 23, 2020, 2:39pm UTC](https://community.developer.atlassian.com/t/adding-general-page-to-bitbucket-through-atlassian-connect-app/40244/2 "2020-07-23T14:39:24Z")

</div>

Hi @piotr.bojko,

Pretty sure that you have to manually add a [web-item](https://developer.atlassian.com/cloud/bitbucket/modules/web-item/) that links to your `generalPage` so that your users can find it. 🙂

Cheers,  
Sven

---

<div class="post-metadata">

**Author:** ![piotr.bojko](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/piotr.bojko/32/54608_2.png) [@piotr.bojko](https://community.developer.atlassian.com/u/piotr.bojko)\
**Post date:** [July 27, 2020, 9:31am UTC](https://community.developer.atlassian.com/t/adding-general-page-to-bitbucket-through-atlassian-connect-app/40244/4 "2020-07-27T09:31:35Z")

</div>

Yeah, I got a working web item but following docs on linking to a page this snippet does not work. When refreshing a descriptor in console Bitbucket shows “Something went wrong” message.

```auto
   webItems: [
      {
        url: 'atlas-bot-test-general-page',
        name: {
          value: "Example Web Item"
        },
        location: "org.bitbucket.repository.navigation",
        key: "fjierjfeifjiewjofjweo",
        context: 'page',
      }
    ],
    generalPages: [
      {
        key: 'atlas-bot-test-general-page',
        name: {
          value: 'test general page'
        },
        url: '/someurl'
      }
    ],

```

---

<div class="post-metadata">

**Author:** ![nhur](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/nhur/32/41415_2.png) [@nhur](https://community.developer.atlassian.com/u/nhur)\
**Post date:** [August 11, 2020, 1:42am UTC](https://community.developer.atlassian.com/t/adding-general-page-to-bitbucket-through-atlassian-connect-app/40244/5 "2020-08-11T01:42:00Z")

</div>

Hi! Might be a late response but we had a similar issue you had, but found that a repository page worked and suited us better and might work for your use case, i.e.:

```auto
    "repoPage": [
      {
        "key": "atlas-bot-test-general-page",
        "url": "/someurl",
        "location": "org.bitbucket.repository.navigation",
        "name": {
          "value": "test general page"
        }
      }
    ]

```

---

<div class="post-metadata">

**Author:** ![AlexDess](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@AlexDess](https://community.developer.atlassian.com/u/AlexDess)\
**Post date:** [January 15, 2021, 1:29am UTC](https://community.developer.atlassian.com/t/adding-general-page-to-bitbucket-through-atlassian-connect-app/40244/6 "2021-01-15T01:29:28Z")

</div>

Has anyone been able to create a general page and view it successfully?

For my use case, a repository page is not going to work unfortunately @nhur 🙂

---

<div class="post-metadata">

**Author:** ![piotr.bojko](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/piotr.bojko/32/54608_2.png) [@piotr.bojko](https://community.developer.atlassian.com/u/piotr.bojko)\
**Post date:** [January 19, 2021, 8:38am UTC](https://community.developer.atlassian.com/t/adding-general-page-to-bitbucket-through-atlassian-connect-app/40244/7 "2021-01-19T08:38:03Z")

</div>

Yeah, we have got it working. We are using in as a body for a popup and invoking with ap scripts - [Dialog](https://developer.atlassian.com/cloud/bitbucket/jsapi/dialog/)

---

<div class="post-metadata">

**Author:** ![AlexDess](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@AlexDess](https://community.developer.atlassian.com/u/AlexDess)\
**Post date:** [January 19, 2021, 9:41pm UTC](https://community.developer.atlassian.com/t/adding-general-page-to-bitbucket-through-atlassian-connect-app/40244/8 "2021-01-19T21:41:57Z")

</div>

Oh, awesome 🙂 But you were not able to get it displaying in the main navigation as per the [docs](https://developer.atlassian.com/cloud/bitbucket/modules/general-page/):

> By default a link to the page is displayed in the main navigation menu.

Is that correct? 🙂

---

<div class="post-metadata">

**Author:** ![piotr.bojko](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/piotr.bojko/32/54608_2.png) [@piotr.bojko](https://community.developer.atlassian.com/u/piotr.bojko)\
**Post date:** [January 19, 2021, 9:55pm UTC](https://community.developer.atlassian.com/t/adding-general-page-to-bitbucket-through-atlassian-connect-app/40244/9 "2021-01-19T21:55:37Z")

</div>

It seems that raw generalpage does not being displayed under main navigation menu. 🙂  
we are displaying it as a body of AP popup.

---

<div class="post-metadata">

**Author:** ![UlrichKuhnhardtIzym1](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/ulrichkuhnhardtizym1/32/40259_2.png) [@UlrichKuhnhardtIzym1](https://community.developer.atlassian.com/u/UlrichKuhnhardtIzym1)\
**Post date:** [July 6, 2022, 9:33am UTC](https://community.developer.atlassian.com/t/adding-general-page-to-bitbucket-through-atlassian-connect-app/40244/10 "2022-07-06T09:33:18Z")

</div>

There is a post by Atlassian here [https://groups.google.com/g/atlassian-connect-dev/c/qxONPLF2aQQ/m/sh1W6H6-BAAJ](https://groups.google.com/g/atlassian-connect-dev/c/qxONPLF2aQQ/m/sh1W6H6-BAAJ)  
Which confirms that `generalPages` is not available even though officially documented.
