Ability to set a custom page title for pages in Jira Cloud

I would like to set a custom page title for pages in our Jira Cloud add-on. Currently the labels that are used for sub menu items are also used as page titles. Will there be support for custom page titles?

3 Likes

Can you expand on this? You can set the title in a generaPage module and then use another web-item to link to it… Does that do what you’re after?

Hi Daniel,

I have set the value in the name property in the generalPage module. That value is not only used as the page title, but also as the label for a menu item. I want to define both separately

So what you’ll need to do is to use a dummy location:

"modules": {
    "generalPages": [
      {
        "url": "/my-general-page",
        "location":"none",
        "name": {
          "value": "My General Page"
        },
        "key": "my-general-page"
      }
    ],

Then add in a web-item module:

"webItems": [
      {
        "location": "system.preset.filters",
        "url": "/plugins/servlet/ac/[your plugin key]/my-general-page",
        "context": "addon",
        "target": {
          "type": "product",

        },
        "name": {
          "value": "My Web Item"
        },
        "key": "web-item-example"
      }
    ]

The key being the "url": "/plugins/servlet/ac/[your plugin key]/my-general-page", part - my-general-page is the key of the generalPage…