Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to add a simple button to agile board?

Ivan Ogorodov November 14, 2016

Hello!

I trying to add a button then links to page (generalPage) from agile board using location jira.agile.board.tools, but it looks like dropdown menu, not like button and clicking on it opens menu (without any items) instead showing page

My atlassian-connect.json looks like this:

{
  ...
  "modules": {
    "generalPages": [
      {
        "key": "some-page",
        "location": "jira.agile.board.tools",
        "weight": 10,
        "name": {
          "value": "Some Page"
        },
        "url": "/page?board_id={board.id}"
      }            
    ]
  ...
  }
}

And results looks like this:

Screen Shot 2016-11-15 at 00.03.42.png

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
boydo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 17, 2016

I don't think you can have a simple button at that location.

If you wanted to add a dropdown menu, and launch a page from an item in that menu, you could do the following:

...
"modules": {
        	"webSections": [
          {
            "location": "jira.agile.board.tools",
            "name": {
              "value": "Some menu"
            },
            "key": "web-section-menu"
          }
        ],
        "webItems": [
          {
            "location": "web-section-menu",
            "url": "/page?board_id={board.id}",
            "target": {
                "type": "page"
            },
            "name": {
              "value": "Some menu item"
            },
            "key": "menu-item-1"
          }
        ]
}
...
Ivan Ogorodov November 19, 2016

I know about an example about dropdown menu, but I need a single link so dropdown menu with only one item will looks annoying

Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 19, 2018

@boydo we also need this.

Is this limitation (being impossible to add a plain vanilla button) still exists in Atlassian Connect?

boydo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 25, 2018

@Aron Gombas _Midori_

Yes, I just checked and the limitation still exists.

If you'd like this added, I'd recommend  creating a feature request in the Developer Service Desk.

Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 20, 2018

@boydo I did that, thanks!

Everyone, please vote on ACJIRA-1647.

TAGS
AUG Leaders

Atlassian Community Events