I’ve been working on a plugin for Jira Server for the past year and recently decided to expand its scope and wanted to change its name and artifactId to represent its new functionality. Changing the name was relatively straightforward and updated the artifactId was quite easy within the pom.xml but for some reason the url to my gadgets was never updated.
What’s strange is that yesterday I was able to keep my gadgets running and also modified them so the web resources I use use the new artifactId in the urls and even was able to confirm that this change worked.
However, this morning after an atlas-clean and atlas-run neither of my gadgets are showing up in the gadget finder on the dashboard. When I look at the console I see this:
GadgetUrlBuilder: could not parse spec at rest/gadgets/1.0/g/com.teledyne.jira.plugin.jira-hierarchy:hours-manager/gadgets/hours-manager.xml
I can see that within this error, it is using my old artifactId which is why it is unable to find the gadget. Is there anyway to fix this so that it uses the new artifactId?