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 if anyone has an idea:
Cheers,
Brett