Adding web-item to JIRA onDemand

I added the following code to atlassian-connect.json file.

But the web-item doesn't show up. Any idea what am I missing?

I followed the documentation on https://developer.atlassian.com/static/connect/docs/modules/confluence/web-item.html

& also went over https://bitbucket.org/atlassianlabs/atlassian-connect-jira-example, but found nothing extra than I have right now for adding a web item.

"modules": {

        "webItems": [
        {
           "name": {
               "value": "TestWebItem"
            },
           "url": "/hello-world",
           "location": "operations-attachments",
           "weight": "1",
           "key": "hello-world"
        }]

 }

2 answers

1 accepted

Recreated a new instance and tried the same. It worked. May be i had some environment issues.

Add context e.g "context": "addon" and change the weight to something else e.g. 130. It should work.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

713 views 6 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you