Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Web Item won't show up in issue right context

Brett B
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 11, 2021

Hi,

I am trying to get a link that opens a dialogue in the right hand issue context. I can get a web panel to work just fine, but a web item refuses to show. Does this location support web items/am I missing something?

This is my atlassian-connect.json the web panel correctly adds a P4Jira X field to the right context, but I cannot get the web item to show up.

{
"key": "p4cjira",
"name": "p4cjira",
"description": "Perforce <=> Jira bridge",
"baseUrl": "{{localBaseUrl}}",
"authentication": {
"type": "jwt"
},
"lifecycle": {
"installed": "/installed"
},
"scopes": [
"READ"
],
"modules": {
"dialogs": [
{
"url": "/p4jira?issueId={issue.key}",
"options": {
"size": "fullscreen",
"header": {
"value": "P4Jira Header"
}
},
"key": "p4jira-dialog"
}
],
"webItems": [
{
"key": "p4jira-link2",
"name": {
"value": "P4Jira X2"
},
"location": "atl.jira.view.issue.right.context",
"weight": 10,
"target": {
"type": "dialogmodule",
"options": {
"key": "p4jira-dialog"
}
}
}
],
"webPanels": [
{
"key": "p4jira-issue-left-panel",
"location": "atl.jira.view.issue.left.context",
"weight": 10,
"name": {
"value": "P4Jira"
},
"url": "/p4jira?issueId={issue.key}"
}
]
}
]
}
}

I am trying to do the same as the inbuilt DVCS link/dialog like the highlighted:

full-context-right.PNG

 

Cheers,

Brett

1 answer

0 votes
Brett B
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 11, 2021

* should be part of the question, not an answer.

Suggest an answer

Log in or Sign up to answer