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

Does "WebPanels" and "JiraIssueContent" work together?

Gaurang Chauhan
Contributor
August 17, 2021

In my app, I created two web panels with location "atl.jira.view.issue.left.context" and "atl.jira.view.issue.right.context". It is working properly. But when I created one more module with "JiraIssueContents", the web panel with location "left" is not visible on the screen.

Before adding "JiraIssueContent"

chrome_plQnQwjRwF.png

 After adding "JiraIssueContent"

image.png

My configuration on the descriptor file is as below. Let me know if I am missing any configuration over here.

{
"modules": {
"jiraIssueContents": [
{
"icon": {
"width": 24,
"height": 24,
"url": "/assets/images/image-18x18.png"
},
"target": {
"type": "web_panel",
"url": "/jiraIssueContent"
},
"tooltip": {
"value": "Jira Issue Content"
},
"jiraNativeAppsEnabled": false,
"name": {
"value": "Jira Issue Content"
},
"key": "jira-issue-content"
}
],
"webPanels": [{
"url": "/left-web-panel",
"location": "atl.jira.view.issue.left.context",
"layout": {
"width": "100%",
"height": "100%"
},
"weight": 50,
"supportsNative": false,
"name": {
"value": "Left Web Panel"
},
"key": "left-web-panel"
},
{
"url": "/right-web-panel",
"location": "atl.jira.view.issue.right.context",
"layout": {
"width": "100%",
"height": "100%"
},
"weight": 50,
"supportsNative": false,
"name": {
"value": "Right Web Panel"
},
"key": "right-web-panel"
}]
}
}

Thank you in advance.

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 19, 2021

Hi @Gaurang Chauhan 

I understand that you are creating a connect app to work with Jira Cloud, but have found that trying to use both the "atl.jira.view.issue.left.context" and "atl.jira.view.issue.right.context" the left panel does not appear as expected.  I should start by saying that I'm not a developer and that this really is not my area of expertise.  You might find more clarity by asking this kind of question over in our developer community https://community.developer.atlassian.com

That site is separate from this one, but it specifically serves questions like this one.

With all that said, taking a look at https://developer.atlassian.com/cloud/jira/platform/new-issue-view-ui-locations/ it does have mentions about backwards compatibility for each atl.jira.view.issue.[left | right].context , which would indicate to me that the way I think you are trying to do this is the legacy method that is not always expected to work with the new issue view that Jira Cloud is using today.  There is a note about using the right context here:

Glance backwards compatibility

Glances are backwards compatible with the atl.jira.view.issue.right.context location, but we strongly recommend you create or update your app using the Atlassian Connect issue glance module to provide a high quality user experience.

It appears that your code have defined "jiraIssueContents" for the left context, but I don't see any "jiraIssueGlances" defined under modules in your sample code.  I think this is necessary for the glance / right context entry to work as expected.

I hope that helps, but if not, then I would still suggest reaching out over on https://community.developer.atlassian.com for additional help here.

Cheers,

Andy

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events