Forums

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

Configuration Page Opens as Full Screen in Jira Cloud Add-On

Hadi Abou Hamzeh
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!
October 27, 2024

Hello Atlassian Community,

I'm currently developing a Jira Cloud add-on and I'm facing an issue with the configuration page that is linked in the admin menu. Despite following the official documentation on Administration UI locations, when I click on the "Configuration" link under my add-on section, it opens as a full-screen page instead of being embedded in the admin interface.

Here are the relevant parts of my setup:

atlassian-connect.json

"modules": {
"webSections": [
{
"key": "addon-section",
"location": "admin_plugins_menu",
"name": {
"value": "Addon Name"
}
}
],
"webItems": [
{
"key": "addon-webitem-key",
"location": "admin_plugins_menu/addon-section",
"name": {
"value": "Configuration"
},
"url": "/addon-config-url",
"condition": {
"condition": "user_is_admin"
},
"weight": 100
}
]
}

html file:

<script src="https://connect-cdn.atl-paas.net/all.js"></script>
<div class="ac-content">
<div id="addon-container">test</div>
</div>

thymleaft config:

 

@Controller
public class ScreensController {

@GetMapping(value = "/addon-config-url")
public String addonConfigScreen(@RequestParam("lic") String licenseStatus) {
if (licenseStatus.equalsIgnoreCase("active") || licenseStatus.equalsIgnoreCase("none")) {
//Path to the html file
return "addon-config-url/config-index";
}
return "path to the license";
}
}

What steps can I take to ensure that my configuration page opens within the Jira admin interface as an embedded iframe? Are there specific settings or configurations I might have missed?

Thank you for your help!

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Dave Liao
Community Champion
October 27, 2024

@Hadi Abou Hamzeh - If you haven’t yet, consider posting to the Atlassian Developer Community: https://community.developer.atlassian.com

There are developers here, but you’ll probably get a faster response on that forum. Good luck!

Hadi Abou Hamzeh
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!
October 27, 2024

Hello @Dave Liao  thanks for letting me know, I will add my question there.

Have a great day

Like Dave Liao likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events