Adding web-item to JIRA onDemand

HaarikaM
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2014

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

0 votes
Answer accepted
HaarikaM
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 13, 2014

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

0 votes
Vikash Kumar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 21, 2014

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