I’m creating a Connect App, and followed the instructions and was able to get an item added to the Project Sidebar once. But after I changed the .html with something other than display “My Project Page”, Jira doesn’t seem to be “reload/refreshing/pulling” the contents from my local server, even after uninstall/installing.
Changing the contents of the atlassian-connect.json file is reflected in the Jira UI (sidebar), and the http-server logs shows it doing a “GET /atlassian-connect.json” during the install.
But the log only showed the one time it did the “GET /project.html?projectKey=xxxxx”
atlassian-connect.json
"jiraProjectPages": [
{
"key": "hello-world-project-page",
"name": {
"value": "Test Importer"
},
"url": "/project.html?projectKey=${project.key}",
"iconUrl": "/images/icon.png",
"weight": 1
}
]
project.html
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://unpkg.com/@atlaskit/css-reset@2.0.0/dist/bundle.css" media="all">
<script src="https://connect-cdn.atl-paas.net/all.js" async></script>
</head>
<body>
<section id="content" class="ac-content">
<h1>My Derpy Page</h1>
</section>
</body>
</html>
Shouldn’t uninstalling/installing the app force Jira to refresh its page?
The tutorial at https://developer.atlassian.com/cloud/jira/platform/getting-started-with-connect/#next-steps doesn’t describe the development lifecycle, like its describe for Forge apps (e.g. forge tunnel ). What is the proper way to update after changing html?